kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
skuro 2019-11-06T13:07:01.000700Z

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

skuro 2019-11-06T13:08:41.002700Z

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

skuro 2019-11-06T13:09:25.003700Z

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

plexus 2019-11-06T15:44:17.004300Z

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

plexus 2019-11-06T15:44:51.005Z

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