Class Surefire621TestCountingJunit3InParallelIT

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

public class Surefire621TestCountingJunit3InParallelIT extends SurefireJUnit4IntegrationTestCase
SUREFIRE-621 Asserts proper test counts when running junit 3 tests in parallel
SUREFIRE-1264 Some tests can be lost when running in parallel with parameterized tests

Removed decision making with JUnit3 in TestSet class during Jira activity of SUREFIRE-1264 which results in one hot spot where the test class is determined (see JUnitCoreRunListener#fillTestCountMap()).
Author:
Kristian Rosenvold, Tibor Digana (tibor17)
  • Constructor Details

    • Surefire621TestCountingJunit3InParallelIT

      public Surefire621TestCountingJunit3InParallelIT()
  • Method Details

    • testJunit3AllParallelBuildResultCount

      public void testJunit3AllParallelBuildResultCount()
      SUREFIRE-1264
    • testJunit3ParallelBuildResultCount

      public void testJunit3ParallelBuildResultCount()
      SUREFIRE-621
    • testJunit3BuildResultCount

      public void testJunit3BuildResultCount()
      SUREFIRE-1264
    • testJunit3ParallelSuiteBuildResultCount

      public void testJunit3ParallelSuiteBuildResultCount()
      SUREFIRE-1264
    • testJunit3SuiteBuildResultCount

      public void testJunit3SuiteBuildResultCount()
      SUREFIRE-1264