Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1849

Cucumber/JUnit5 Test Execution Regression in M4 and M5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      My JUnit 5 Cucumber tests fail to execute properly when in Surefire version 3.0.0-M4 and 3.0.0-M5. Downgrading to 3.0.0-M3 solves the issue.

      I've built a small, complete example project demostrating the issue https://github.com/jmathewburns/surefire-cucumber-junit5-sscce. You can play with the version property in the `pom.xml` in my example and run the `test` goal

       
      In M4 and M5, the Cucumber glue is recognised and the step definitions are run, but failed assertions do not affect the outcome of the build. Also, true assertions do not count towards the "Tests run" statistic

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              jmathewburns Jacques Burns
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: