Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate configuration for each test suite #444

Open
mknorps opened this issue Aug 26, 2024 · 1 comment
Open

Separate configuration for each test suite #444

mknorps opened this issue Aug 26, 2024 · 1 comment

Comments

@mknorps
Copy link

mknorps commented Aug 26, 2024

We have an example:

{:kaocha/tests                       [{:kaocha.testable/type :kaocha.type/clojure.test
                                       :kaocha.testable/id   :unit
                                       :kaocha/ns-patterns   ["-test$"]
                                       :kaocha/source-paths  ["src"]
                                       :kaocha/test-paths    ["test/unit"]}
                                      {:kaocha.testable/type :kaocha.type/clojure.test
                                       :kaocha.testable/id   :integration
                                       :kaocha/ns-patterns   ["-test$"]
                                       :kaocha/source-paths  ["src"]
                                       :kaocha/test-paths    ["test/integration"]}]
 :kaocha/fail-fast?                  false
 :kaocha/color?                      true
 :kaocha/reporter                    [kaocha.report/dots]
 :kaocha/plugins                     [:kaocha.plugin/randomize
                                      :kaocha.plugin/filter
                                      :kaocha.plugin/capture-output
                                      :kaocha.plugin/profiling]
 :kaocha.plugin.randomize/seed       950716166
 :kaocha.plugin.randomize/randomize? true
 :kaocha.plugin.profiling/count      3
 :kaocha.plugin.profiling/profiling? true}

Is it possible to set up :kaocha/fail-fast? flag per suite?
I would like it to be true for integration tests but not for unit tests.

@mknorps mknorps changed the title Separate configuration for each test from the test suite Separate configuration for each test suite Aug 26, 2024
@plexus
Copy link
Member

plexus commented Aug 28, 2024

No, this is not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants