Visit the expectations website for all of the expectation docs:
https://clojure-expectations.github.io
Running the tests:
lein do clean, test
This will run the (successful) expectations for Clojure (currently 83).
Then run the ClojureScript tests interactively:
./scripts/repl
cljs.user=> (require 'expectations.test)
...
cljs.user=> (expectations.test/-main)
This will run the (successful) expectations that are compatible with ClojureScript (currently 69/69).
You can run all expectations via:
lein do clean, expectations
This includes the deliberately failing expectations (used to visually confirm behavior for failing tests) and should run 128 assertions in total, of which 43 will fail and 2 will error.
Copyright (c) 2010-2017, Jay C Fields, Sean Corfield. All rights reserved. This software is available under the BSD 3-Clause Open Source License.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close