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.
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
thanks. Will buy you 🍺 when this ships :)
happy to send some of our opencollective funds to whoever wants to tackle this!
fwiw, I listened to the ClojureScript podcast about polylith and they seem to have implemented this feature specifically for their framework
something like https://jestjs.io/docs/en/cli.html#--onlychanged