kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2020-07-08T09:58:34.405500Z

@madstap this is kind of intentional, since the default config has :focus-meta [:kaocha/focus], so if you mark up tests then we focus on those, if not we run everything. If you need different behavior you can use plugins or hooks, should be straightforward to traverse the tree and mark tests as :kaocha.testable/skip

plexus 2020-07-08T09:59:17.406100Z

you can look at the filter plugin for inspiration, although for this specific case something much simpler should be good enough

plexus 2020-07-08T10:14:27.406400Z

@madstap here's some code you can add to your project https://github.com/lambdaisland/kaocha/blob/master/repl_sessions/strict_focus_meta_hook.clj

rgm 2020-07-08T16:40:40.407700Z

heads up: kaocha file watching is busted in the new beta macOS, so maybe don’t upgrade just yet. https://github.com/lambdaisland/kaocha/issues/151 (I did by accident and have been regretting it).

plexus 2020-07-08T16:44:58.408Z

ouch

rgm 2020-07-08T16:58:24.409300Z

my fix-this-particular-machine fix was to make a new hawk jar that re-writes the point where it branches on macOS, and maven install that locally.