Fix autorun tests doc, close #5967

pull/6103/head
Gabriel Horner 2022-07-19 21:03:14 -04:00
parent b226484683
commit 981b1ad69e
1 changed files with 4 additions and 6 deletions

View File

@ -110,12 +110,10 @@ For help on more options, run `node static/tests.js -h`.
#### Autorun Tests
To run tests automatically on file save, run `yarn
shadow-cljs watch test --config-merge '{:autorun true}'`. The test output may
appear where shadow-cljs was first invoked e.g. where `yarn watch` is running.
Specific namespace(s) can be auto run with the `:ns-regexp` option e.g. `npx
shadow-cljs watch test --config-merge '{:autorun true :ns-regexp
"frontend.util.page-property-test"}'`.
To run tests automatically on file save, run `clojure -M:test watch test
--config-merge '{:autorun true}'`. Specific namespace(s) can be auto run with
the `:ns-regexp` option e.g. `clojure -M:test watch test --config-merge
'{:autorun true :ns-regexp "frontend.util.page-property-test"}'`.
## Logging