kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
ikitommi 2021-01-18T11:12:45.009600Z

hi. is there a way to run just the tests that are related to the current changes related to the initial (checked out) version? I have a big project which has a slow test suite. doing a small change into a component a, I know that only few tests are affected, but need to run ’em all. Like watch + repl, but bookkeeping based on git-changes, not dirty namespaces on repl.

plexus 2021-01-20T16:15:57.010100Z

we have worked at that at some point, there's a pitch (https://nextjournal.com/lambdaisland/kaocha-autotest) and a WIP branch https://github.com/lambdaisland/kaocha/tree/autotest , but it's not actively being worked on

ikitommi 2021-01-20T17:03:40.010400Z

thanks. Will buy you 🍺 when this ships :)

plexus 2021-01-20T18:45:41.010600Z

happy to send some of our opencollective funds to whoever wants to tackle this!

borkdude 2021-01-25T20:08:33.000300Z

fwiw, I listened to the ClojureScript podcast about polylith and they seem to have implemented this feature specifically for their framework

ikitommi 2021-01-18T13:25:02.009800Z

something like https://jestjs.io/docs/en/cli.html#--onlychanged