In advance of releasing the CLI/deps.edn tooling for alpha testing, I've been testing the code and getting libraries ready. I went through the libraries I maintain and provided deps.edn files for them. (And also pulled over any code updates from the JVM originals.) This includes setting them up for testing. I have forked cognitect-labs/test-runner (at https://github.com/dmiller/test-runner) and got it running under ClojureCLR (pretty trivial to do). All these libraries have been set up to run tests. You can just cd into the library's root dir and run cljr -X:test and all tests will run. At least, you'll be able to do that as soon as I get cljr out for alpha testing -- and that is next on the list.
Here are the libraries that have been deps.edn-ified:
clr.data.priority-map (v1.2.0)
clr.core.cache (v1.1.234)
clr.core.memoize (v1.1.266)
clr.tools.reader (v1.4.2)
clr.tools.namespace (v1.5.2)
clr.tools.nrepl (v0.1.0-alpha2)
clr.core.logic (v1.1.0)
clr.data.json (v2.5.0)
clr.test.check (v1.1.2)
clr.data.generators (v1.1.0)
clr.test.generative (v1.1.0)
Not yet prepared is clr.core.async -- that relies on a library I don't maintain that I need to have the maintainer insert a deps file. I also have not gotten to clr.spec.alpha and clr.core.specs.alpha -- I'll get to those as I do ClojureCLR updates.
Additional libraries that have undergone this work are actually used for the cljr project itself:
clr.tools.gitlibs (v2.5.198)
clr.tools.deps (v0.1.4)
clr.tools.deps.cli (v0.1.3)
In addition, tools.cli , a dependency for these libraries, has had a deps-clr.edn file added so that the dependencies works. (When a library, such as tools.cli , needs to support Clojure(JVM/Script) and ClojureCLR and the deps.edn content needs to differ, we can't just read-conditionalize the deps.edn -- EDN does not support read-conditionalization. The workaround is that the cljr tool looks for a deps-clr.edn file in the root directory before looking for deps.edn.)
I'm off to get the alpha of cljr out the door.