From 981b1ad69ee0e0f1639b8fd6a0f0eb82fcd5cc94 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Tue, 19 Jul 2022 21:03:14 -0400 Subject: [PATCH] Fix autorun tests doc, close #5967 --- docs/dev-practices.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/dev-practices.md b/docs/dev-practices.md index 4879508aa..2ed8f9f88 100644 --- a/docs/dev-practices.md +++ b/docs/dev-practices.md @@ -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