diff --git a/README.md b/README.md index fa86501..8a0704a 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,17 @@ Once tests are compiled they can be ran with: node target/js/node-tests.js ``` +## Running the ClojureCLR tests + +### Pre-requisites +- [dotnet](https://dotnet.microsoft.com/en-us/download) +- `ClojureCLR`: `dotnet tool install --global Clojure.Main --version 1.12.0-alpha10` +- `cljr`: `dotnet tool install --global Clojure.Cljr --version 0.1.0-alpha5` + +```bash +cljr -X:test-cljr +``` + ### Automated test running during development If you want to autorun the tests during development run the following: diff --git a/deps.edn b/deps.edn index cb36f2d..c8be104 100644 --- a/deps.edn +++ b/deps.edn @@ -1 +1,8 @@ -{:paths ["test"]} +{:paths ["test"] + :aliases + {:test-cljr + {:extra-deps {io.github.clojure/clr.tools.reader {:git/tag "v1.5.0" :git/sha "46ce896"} + io.github.dmiller/test-runner {:git/sha "c055ea13d19c6a9b9632aa2370fcc2215c8043c3"}} + :exec-fn cognitect.test-runner.api/test + :exec-args {:dirs ["test"] + :patterns [".*"]}}}}