Liking cljdoc? Tell your friends :D

Run eg's own tests

Tests targeting Clojure

Passing tests

lein clj-test-pass

Failing tests

lein clj-test-fail

Tests targeting ClojureScript JVM->nodejs

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}}}}}

Passing tests

lein cljs-test-pass

Failing tests

lein cljs-test-fail

Passing tests targeting ClojureScript JS

lein tach planck
# or
lein tach lumo

Failing tests notes

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 Fontes
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close