This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-20
Channels
- # announcements (10)
- # babashka (12)
- # beginners (30)
- # calva (15)
- # clerk (7)
- # clj-kondo (15)
- # clojure (22)
- # clojure-art (2)
- # clojure-austin (1)
- # clojure-berlin (1)
- # clojure-europe (22)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-uk (5)
- # cursive (3)
- # hoplon (1)
- # hyperfiddle (26)
- # introduce-yourself (1)
- # jobs (1)
- # joyride (13)
- # kaocha (6)
- # lsp (5)
- # matrix (1)
- # music (1)
- # off-topic (8)
- # podcasts-discuss (1)
- # practicalli (1)
- # releases (1)
- # sci (43)
- # shadow-cljs (67)
- # squint (56)
- # tools-deps (3)
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"}
If this is accurate from your file, it’s not a keyword
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
@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
Thanks!