Fork me on GitHub
#kaocha
<
2021-03-04
>
enn21:03:27

Is it possible to run kaocha with plugins from the REPL? (my use case is to make some changes to a plugin and test them interactively)

plexus05:03:51

it is, if you use kaocha.repl it will do a full test run, including calling plugins. It won't reload the plugins though, so you'll have to eval them yourselves (or do something like (require ... :reload) to pick up any changes before doing kaocha.repl/run

enn14:03:53

Hmm, when I use kaocha.repl/run it does not write the results.xml file that the junit plugin is supposed to write. Possibly this is because my .kaocha-config.edn is not being picked up. Is there a way to manually load that?