lein-test-out icon indicating copy to clipboard operation
lein-test-out copied to clipboard

Feature request: test-selector integration

Open venantius opened this issue 11 years ago • 1 comments

I've got a project where most of the time I only care about testing the unit tests, but where I might want to test my integration tests specially. My project.clj has this bad boy in there as a result:

  :test-selectors {:default (complement :integration)
                   :all (constantly true)
                   :integration :integration
                   :unit (complement :integration)}

So most of the time I can do lein test and it leaves out my integration tests, but if I want to I can do lein test :integration. At the moment lein-test-out doesn't care about my test selectors, which means if my integration tests fail my overall test output shows as a failure (in particular, if you're using a tool like Arcanist, which I am :P).

venantius avatar Nov 17 '14 21:11 venantius

:+1:

marcomorain avatar Feb 15 '16 10:02 marcomorain