A leiningen plugin to make running tests written using expectations library.
For Leiningen 2.0:
Declare lein-expectations in project.clj:
:plugins [[lein-expectations "0.0.8"]]For Leiningen 1.x - use lein-expectations 0.0.5 or earlier:
Declare lein-expectations in project.clj:
:dev-dependencies [[lein-expectations "0.0.5"]]or install as a plugin:
$ lein plugin install lein-expectations "0.0.5"To run all your tests:
$ lein expectationsTo run specific test namespaces:
$ lein expectations my.test.namespace1 my.test.namespace2To run test namespaces by regex:
$ lein expectations my.tests.foo.* my.tests.bar.*Copyright (C) 2012 Gareth Jones
Distributed under the Eclipse Public License, the same as Clojure.
Sean Corfield, Lee Hinman