a minimalist's unit testing framework
This project is maintained by seancorfield and jaycfields
adding signal, removing noise
{:expectations-options :before-run}
, before starting to execute the test suite.
{:expectations-options :after-run}
, after executing the test suite.
:reload
.
As a result, this configuration namespace will be removed and redefined with each expectations suite run.
expectations_options.clj
(thus the namespace is expectations-options
).
Expectations looks for this file in the root test directory. If you have :test-paths ["test/clojure"]
in your project.clj
,
then you'll want to create test/clojure/expectations_options.clj
.
{:expectations-options :before-run}
or {:expectations-options :after-run}
metadata to a function in the expectations-options namespace, your function should be run automatically the next time your test suite runs.
You may want to start with a (println)
just to verify that things are going as you expect.