Tests - oliyh/learning-clojure GitHub Wiki

Intellij doesn't seem to understand how to run tests. There are two ways to run your tests:

From the REPL

(use 'clojure.test)
(run-all-tests) ;; runs all tests it can find
(run-tests 'scratchpad.core-test) ;; runs all tests in learning-clojure.core-test

Lein

lein test ;; run all tests
lein test scratchpad.core-test ;; runs all the tests in learning-clojure.core-test