lein clj-test-pass
lein clj-test-fail
Do the following config before proceeding, in order to get accurate test line information on reports.
First install source maps support node package:
npm install source-map-support
Enable source maps on your project.clj
test build config:
{:cljsbuild
{:builds
{...
{:compiler {:source-map true}}}}}
lein cljs-test-pass
lein cljs-test-fail
lein tach planck
# or
lein tach lumo
The test report should look like this:
Ran 12 tests containing 21 assertions.
19 failures, 0 errors.
Tests failed.
Can you improve this documentation? These fine people already did:
Carlos Cunha & Carlos FontesEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close