kaocha

danielneal 2023-11-20T14:02:09.231409Z

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"}

2023-11-20T14:31:32.977759Z

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

danielneal 2023-11-20T14:32:16.745539Z

oop that was a bad edit in slack

👍 1
2023-11-20T14:32:47.320299Z

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-johnny 2023-11-20T14:54:48.360719Z

@danieleneal 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
danielneal 2023-11-20T14:56:37.505809Z

Thanks!