Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Tests are run twice when "test" is included in test-paths #24

Open
oli-d-ovo opened this issue Mar 16, 2018 · 0 comments
Open

Tests are run twice when "test" is included in test-paths #24

oli-d-ovo opened this issue Mar 16, 2018 · 0 comments

Comments

@oli-d-ovo
Copy link

oli-d-ovo commented Mar 16, 2018

With the following dev profile in project.clj:

  :profiles {:dev {:test-paths ["test" "it"]
                   :dependencies [[circleci/circleci.test "0.4.1"]]}}

All tests are run twice using the circle ci plugin. The test alias is setup like so:

"test" ["run" "-m" "circleci.test/dir" :project/test-paths]

After some experimentation, the "test" folder is picked up by leiningen even if it isn't included in the profile. However, running lein test without the plugin will only ever run the test suite once, even with "test" included in test-paths. When the circle ci plugin is enabled and configured above, tests will run twice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant