A Test runner is a tool to run test in a project and report the results. During development test runners are called from editors or run om the command line and can be configured to run automatically when changes are detected in the code.
All code should compile
Which test runner to use
|cognitect-labs test runner||clj||Defacto test runner for deps.edn projects|
|cljs-test-runner||cljs||Run all ClojureScript tests with one simple command.|
|Kaocha||clj, cljs||Full featured next gen test runner|
|CIDER test runner||clj||CIDER built in test runner|
Cognitect test runner is the defacto tool Clojure deps projects on the command line and with CI servers. cljs-test-runner for ClojureScript deps projects, complementing the Cognitect test runner. Automatic discover of cljs.test based tests, so no configuration required.
Kaocha is a very feature rich test runner for Clojure and ClojureScript, BDD style cucumber tests, coverage and junit style reporting. Kaocha takes a little bit more effort to learn due to the additional features it provides.
deps.edn aliases for test runners
Aliases for these test runners are provided the practicalli/clojure-deps.edn configuration.
Other test runners
- eftest - James Reeves fast and pretty test runner for clojure.test and compatable test libraries (midge, etc)