Learn how to test your Clojure exercises on Exercism
The Clojure exercises on Exercism ship with a deps.edn
file with a :test
alias to invoke the cognitect-labs test-runner:
$ clj -X:test
This will scan your project's test
directory for any tests defined using clojure.test
and run them.
To run an exercise's tests with Leiningen, simply call:
$ lein test
lein test bob-test
Ran 14 tests containing 14 assertions.
0 failures, 0 errors.