/flare

Enlightened failure reports for clojure.test, Midje and expectations

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

Flare Build Status Coverage Status

Flare brings enlightened failure reports to your clojure.test, Midje and expectations tests.

Latest version is [flare "0.2.9"].

Usage

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.

Using with ClojureScript

For ClojureScript, just require flare.cljs-test somewhere in your test setup, and voila! Enlightened tests are yours to behold.

License

Copyright © 2015 Anders Furseth

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.