Adding self-host testing infrastructure and scripts (including tach plugin) Incorporating cgrand/macrovich plugin to separate macro definitions from usage in specter.cljc Changing tests to use :require with :refer-macros to bring in cljs.test macros in cljs mode Rewriting extend-protocolpath to use extend-protocol, which is available in cljs (extend is not) Fixing ic-prepare-path implementation to use VarUse even in hosted mode (hardcoding the condition to false) Various changes in test files to get them working in all three modes In test, using correct symbol for inc depending on the environment
20 lines
333 B
Markdown
20 lines
333 B
Markdown
# Running Clojure tests
|
|
|
|
```
|
|
lein do clean, test
|
|
```
|
|
|
|
# Running ClojureScript tests
|
|
|
|
```
|
|
lein javac
|
|
lein doo node test-build once
|
|
```
|
|
|
|
# Running self-hosted ClojureScript tests
|
|
|
|
Clone and `lein install` [test.check](https://github.com/clojure/test.check) so that 0.9.1-SNAPSHOT is installed locally.
|
|
|
|
```
|
|
scripts/test-self-host
|
|
```
|