Fork me on GitHub
#kaocha
<
2023-11-20
>
danielneal14:11:09

Can you put properties like fail-fast? true in the individual test config (not top level? Where am I going wrong here?

#kaocha/v1
{:plugins [:kaocha.plugin/junit-xml]
 :fail-fast? true
 :diff-style? :minimal
 :tests [{:id :integration
          :skip-meta [:migration :pagination :wind]}
         {:id :migration
          :focus-meta [:migration]}
         {:id :regression
          :focus [sqa.regression-test]
          :fail-fast? false}]  ;; <-------- does this not work?
 :kaocha.plugin.junit-xml/target-file "report.xml"}

Noah Bogart14:11:32

If this is accurate from your file, it’s not a keyword

danielneal14:11:16

oop that was a bad edit in slack

👍 1
Noah Bogart14:11:47

As you’re using #kaocha/v1, it’ll expand to a fully qualified keyword. I don’t remember the full keyword, but maybe you need to use that instead in the suite config

practicalli-johnny14:11:48

@U051H1KL1 I believe it should be :kaocha/fail-fast? true Example of a tests.edn file: https://practical.li/clojure/testing/test-runners/kaocha-test-runner/#example-testsedn

👍 2