Class Surefire1185DoNotSpawnTestsIT

java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
org.apache.maven.surefire.its.jiras.Surefire1185DoNotSpawnTestsIT

public class Surefire1185DoNotSpawnTestsIT extends SurefireJUnit4IntegrationTestCase
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
  • Constructor Details

    • Surefire1185DoNotSpawnTestsIT

      public Surefire1185DoNotSpawnTestsIT()
  • Method Details

    • doNotSpawnUnwantedTests

      public void doNotSpawnUnwantedTests() throws org.apache.maven.it.VerificationException
      Throws:
      org.apache.maven.it.VerificationException