This plugin runs both Midje and clojure.test tests. It has been tested with Leiningen 1.5.2 and 1.6.1.
lein-midje
is available as a plugin:
$ lein plugin install lein-midje 1.0.3
Or you can include it in your project.clj
:
:dev-dependencies [[lein-midje "1.0.3"]])
To run all the tests, and check all the facts, in both the
test
and src
directories, type this:
$ lein midje
You can also run individual namespaces by adding them to the command line:
$ lein midje life.core life.timecop