Using cider-test with Alternative Test Libraries
The clojure.test machinery is designed to be pluggable. Any test
library can integrate with it and leverage the cider-test
ecosystem.
As a test framework author, supporting the built-in clojure.test machinery
(and hence cider-test) is pretty straightforward:
- 
Add :testmetadata to the vars corresponding to the test functions. Theclojure-testmachinery uses this metadata to find tests.
- 
Implement the clojure.test/reportmultimethod to capture the test results.
For example, test.check was designed independently of clojure.test
but integrates with it. Because of this, cider-test handles
defspec just like deftest. test.check just adds compatibility in this
namespace.
Supported Libraries
- 
clojure-expectations added support for clojure.testin version 2.2 and should also work with CIDER.