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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With