jakemcc / test-refresh

Refreshes and reruns clojure.tests in your project.
393 stars 28 forks source link

README - Add :test-paths to project.clj sample #87

Closed stoand closed 1 year ago

stoand commented 1 year ago
By default, test-refresh looks for tests under the test directory. You can use the -d flag to specify a different directory.

This didn't seem to work.

:test-paths however did work though they are hidden in an issue.

jakemcc commented 1 year ago

Thanks for the PR.

I this this confusion came in due to the README mixing in deps.edn and Leiningen-based project documentation. That line about looking in the test directory applies to deps.edn projects.

test-refresh plays nicely with how Leiningen (both ancient and current versions) project.clj's specify source and test directories, so I'm not sure the same project.clj needs to specify the default value of a key respected by both Leiningen and test-refresh.