(i.e., working on test.check itself)
test.check runs in both jvm-clojure and clojurescript, so testing comprehensively requires several steps:
- Run
lein test
to run the JVM tests (requires Leiningen) - Run
lein cljsbuild once
to run the ClojureScript tests (also requires node.js) - To run the same tests in a web browser, open (after running the above command)
test-runners/run_tests_dev.html
andtest-runners/run_tests_adv.html
and watch the javascript console for output - Run
script/test-self-host
to run the self-hosted ClojureScript tests (also requires node.js)