@grounded_sage @whilo now that konserve uses deps.edn how do I run the tests. I've tried a few things and I'm now winning. Any pointers
Hi @alekcz360 . Please run ./bin/run-unittest or take the commands directly from there.
Thanks @timok I'll have a looksee. Much appreciated
@alekcz360 we moved to Kaocha https://github.com/lambdaisland/kaocha
So you can run bin/kaocha
. As stated in the documentation of the test runner this will ideally be placed/ran the same way across all projects using this test runner in the community to ensure consistency.
To run the cljs tests we chose to go with the default shadow-cljs options as koacha-cljs was not working for us and kaocha-cljs2 is still not quite there yet. What shadow provides is also sufficient.
For browser
shadow-cljs watch browser-test
For node
shadow-cljs compile node-test
For completeness the other tests running scripts located in bin is what runs in the CI environment and running those ensures that the tests will pass for merging.
We also enforce clj-fmt now.
Which you can run
clojure -Sdeps '{:deps {cljfmt {:mvn/version "0.6.4"}}}' -m cljfmt.main fix
We are working on making these things smoother and more documented. Thank you for bearing with us. 🙂