Clojurians
#kaocha
<
2018-11-15
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

plexus08:11:07

@timgilbert what I'd do is configure your tests.edn the way you like it when developing, and use command line flags in your CI config for things you want to do differently there, e.g. --reporter documentation

plexus08:11:36

(sorry for the slow response, I've been a bit out of it traveling back to Europe this week.)

plexus08:11:08

You can also get pretty fancy and have separate configuration files for each. You can reduce duplication with Aero's #merge and #include

plexus08:11:31

;; tests_cli.edn
#merge
[#include "tests.edn"
 {:kaocha/reporter [kaocha.report/documentation]}]


;; bin/kaocha --config-file tests_cli.edn

timgilbert14:11:47

Awesome, thanks @plexus