datahike

https://datahike.io/, Join the conversation at https://discord.com/invite/kEBzMvb, history for this channel is available at https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/datahike
alekcz 2020-09-29T10:54:43.009100Z

@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

timo 2020-09-29T11:06:54.009700Z

Hi @alekcz360 . Please run ./bin/run-unittest or take the commands directly from there.

alekcz 2020-09-29T11:23:12.010200Z

Thanks @timok I'll have a looksee. Much appreciated

grounded_sage 2020-09-29T11:42:29.016700Z

@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

grounded_sage 2020-09-29T11:46:44.019100Z

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

grounded_sage 2020-09-29T11:50:33.020400Z

We are working on making these things smoother and more documented. Thank you for bearing with us. 🙂