unit testing in clojure

clojure

Solution

To start with, there's clojure.test. Using Leiningen, you can call `lein test` to run the tests.

See also Speclj which is useful for BDD.

Problem

I am new to Clojure and I'm trying to write my unit tests. What is the best way to write unit tests in Clojure and how do I import the file where my functions are defined to my unit test. Thanks for the help.

Original source

Related problems