Class Surefire1185DoNotSpawnTestsIT
java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
org.apache.maven.surefire.its.jiras.Surefire1185DoNotSpawnTestsIT
Surefire 2.19 spawns unnecessary tests in surefire-junit4 provider.
https://issues.apache.org/jira/browse/SUREFIRE-1185
Example, UnlistedTest is the problem here because it runs with filtered out methods:
Running pkg.UnlistedTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in pkg.UnlistedTest
Running pkg.RunningTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in pkg.RunningTest
Results:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
-
Field Summary
Fields inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
IS_JAVA9_PLUS, JAVA_HOME, JAVA_VERSION
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
executeErrorFreeTest, unpack, unpack, unpack, unpack
-
Constructor Details
-
Surefire1185DoNotSpawnTestsIT
public Surefire1185DoNotSpawnTestsIT()
-
-
Method Details
-
doNotSpawnUnwantedTests
public void doNotSpawnUnwantedTests() throws org.apache.maven.it.VerificationException- Throws:
org.apache.maven.it.VerificationException
-