[ https://issues.apache.org/jira/browse/SUREFIRE-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana updated SUREFIRE-1849: ----------------------------------- Fix Version/s: 3.0.0-M6 > Cucumber/JUnit5 Test Execution Regression in M4 and M5 > ------------------------------------------------------ > > Key: SUREFIRE-1849 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1849 > Project: Maven Surefire > Issue Type: Bug > Reporter: Jacques Burns > Priority: Major > Fix For: 3.0.0-M6 > > > 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|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 -- This message was sent by Atlassian Jira (v8.3.4#803005)