Using cider-test with Alternative Test Libraries
clojure.test machinery is designed to be pluggable. Any test
library can integrate with it and leverage the
As a test framework author, supporting the built-in
cider-test) is pretty straightforward:
:testmetadata to the vars corresponding to the test functions. The
clojure-testmachinery uses this metadata to find tests.
clojure.test/reportmultimethod to capture the test results.
For example, test.check was designed independently of
but integrates with it. Because of this,
defspec just like
test.check just adds compatibility in this
clojure-expectations added support for
clojure.testin version 2.2 and should also work with CIDER.
|Emidje is a third-party extension that’s not bundled with CIDER.|
Emidje extends CIDER to provide support for Midje tests in a similar
cider-test.el does for clojure.test tests. In fact, most of
Emidje’s functionalities were strongly inspired by