Fork me on GitHub
#kaocha
<
2019-11-06
>
skuro13:11:01

is it possible to configure :plugins on a per-suite basis?

skuro13:11:41

my use case is AFAIK fairly common, i.e. having a suite for unit tests and one for integration / black box testing. The latter one is shooting HTTP calls to a deployed test environment, so that I want to enable :kaocha.plugin/cloverage for the :unit suite but no for the :integration

skuro13:11:25

I currently use two separate CI steps for the two suites so I can enable the plugin selectively, but it would be nice to embed this logic within the configuration file

plexus15:11:17

not possible, unfortunately. You'll have to do two runs if you want to run with different plugins enabled.

plexus15:11:51

what you can do if you still want to keep it all in tests.edn is to use profiles, kaocha --profile :unit vs kaocha --profile :integration