Class JUnit47RerunFailingTestWithCucumberIT

java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
org.apache.maven.surefire.its.JUnit47RerunFailingTestWithCucumberIT

public class JUnit47RerunFailingTestWithCucumberIT extends SurefireJUnit4IntegrationTestCase
Tests using the JUnit 47 provider to rerun failing tests with the cucumber runner. The main problem that the junit4 provider has with the cucumber runner is that the junit Description instance created by the runner has a null test class attribute. This requires that tests are rerun based on their description.
Author:
mpkorstanje
  • Field Details

    • profileId

      public String profileId
  • Constructor Details

    • JUnit47RerunFailingTestWithCucumberIT

      public JUnit47RerunFailingTestWithCucumberIT()
  • Method Details

    • assumeJava8Plus

      public void assumeJava8Plus()
    • data

      public static Iterable<Object[]> data()
    • testRerunFailingErrorTestsFalse

      public void testRerunFailingErrorTestsFalse() throws Exception
      Throws:
      Exception
    • testRerunFailingErrorTestsWithOneRetry

      public void testRerunFailingErrorTestsWithOneRetry() throws Exception
      Throws:
      Exception
    • testRerunFailingErrorTestsTwoRetry

      public void testRerunFailingErrorTestsTwoRetry() throws Exception
      Throws:
      Exception