Skip to content

Commit abd40e8

Browse files
committed
Add info on test options to Testing section
1 parent f57a639 commit abd40e8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,21 @@ good practice to use the `duct.test/with-system` macro. This will
308308
(println "Goodbye.")))))
309309
----
310310

311+
As `--test` uses Kaocha under the hood, you can customize how the tests
312+
are run via a `tests.edn` file. See the
313+
https://cljdoc.org/d/lambdaisland/kaocha/1.91.1392/doc/3-configuration[Kaocha
314+
documentation] for a full explanation of how this works.
315+
316+
Finally, there are a few options you can use at the command line to
317+
filter which tests will be run.
318+
319+
[horizontal]
320+
`--test-config FILE` :: use a custom test config file
321+
`--test-focus ID` :: limit tests to a single test ID, namespace or symbol
322+
`--test-skip ID` :: skip tests with the test ID, namespace or symbol
323+
`--test-focus-meta KEY` :: only run tests with the supplied metadata key
324+
`--test-skip-meta KEY` :: skip tests with the supplied metadata key
325+
311326
=== Modules
312327

313328
A *module* groups multiple components together. Duct provides a number

0 commit comments

Comments
 (0)