GitHub user agudian opened a pull request: https://github.com/apache/maven-surefire/pull/14
[SUREFIRE-934] remove getLocatedClasses() and size() from TestsToRun .. to avoid potential programming errors with forkMode=onceperthread You can merge this pull request into a Git repository by running: $ git pull https://github.com/agudian/maven-surefire SUREFIRE-934 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-surefire/pull/14.patch ---- commit 0cb28a6de72ee273b0eea02555513513bc213724 Author: agudian <andreas.gud...@gmail.com> Date: 2012-12-08T20:02:02Z [SUREFIRE-933] 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) 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. commit 705adb5aba2b704ad2bead4427e4182d34153715 Author: agudian <andreas.gud...@gmail.com> Date: 2012-12-09T22:17:53Z [SUREFIRE-934] remove getLocatedClasses() and size() from TestsToRun .., to avoid potential programming errors with forkMode=onceperthread ---- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org