Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Leiningen plugin for running tests written using the expectations library
Clojure
branch: master

This branch is 12 commits behind gar3thjon3s:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/leiningen
.gitignore
README.md
project.clj

README.md

lein-expectations

A leiningen plugin to make running tests written using expectations library.

Usage

For Leiningen 2.0:

Declare lein-expectations in project.clj:

:plugins [[lein-expectations "0.0.5"]]

For Leiningen 1.x:

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 expectations

To run specific test namespaces:

$ lein expectations my.test.namespace1 my.test.namespace2

To run test namespaces by regex:

$ lein expectations my.tests.foo.* my.tests.bar.*

License

Copyright (C) 2012 Gareth Jones

Distributed under the Eclipse Public License, the same as Clojure.

Contributors

Lee Hinman

Something went wrong with that request. Please try again.