Flare brings enlightened failure reports to your clojure.test, Midje and expectations tests.
Latest version is [flare "0.2.9"]
.
Flare is activated by calling flare.clojure-test/install!
(for use with clojure.test
), flare.midje/install!
(for use with Midje
) or flare.expectations/install!
(for use with expectations
).
To use Flare with Leiningen, merge the following with your project.clj:
{:profiles
{:dev
{:injections
[(require 'flare.clojure-test)
(flare.clojure-test/install!)]}}}
Run your tests, using your favourite test runner, and enjoy the enlightenment Flare brings to your failing tests.
For ClojureScript, just require flare.cljs-test
somewhere in your test setup, and voila! Enlightened tests are yours to behold.
Copyright © 2015 Anders Furseth
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.