GitHub user agudian opened a pull request:
https://github.com/apache/maven-surefire/pull/13
[SUREFIRE-839] Tests not matching categories would fail build
Fixed in a way that does not break forkMode=onceperthread (enhanced the IT
for that). Tests are now filtered right before handing them over to JUnit. In
case of a NoTestsRemainException while filtering the test request, nothing will
be handed over to JUnit.
Please note: I have changed the expected number of error free tests in
Surefire839TestWithoutCategoriesIT from 2 to 3.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/agudian/maven-surefire SUREFIRE-839
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-surefire/pull/13.patch
----
commit 769626abe5d01ac6d5b8e4f8cd01191734b8c93c
Author: agudian <[email protected]>
Date: 2012-12-08T20:02:02Z
[SUREFIRE-839] Tests not matching categories would fail build
Fixed in a way that does not break forkMode=onceperthread (enhanced the IT
for that), refined the logic of JUnitCoreProvider.canRunClass (to also detect
the BasicTest class from the IT)
commit 6a70e29e2fb7f55ab69af4e1a3ff8d8d32314117
Author: agudian <[email protected]>
Date: 2012-12-08T22:30:11Z
[SUREFIRE-839] Tests not matching categories would fail build
Tests are now filtered right before handing them over to JUnit. In case of
a NoTestsRemainException while filtering the test request, nothing will be
handed over to JUnit.
----
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]