You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/01/07 08:45:00 UTC

[jira] [Updated] (SUREFIRE-1849) Cucumber/JUnit5 Test Execution Regression in M4 and M5

     [ https://issues.apache.org/jira/browse/SUREFIRE-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated SUREFIRE-1849:
-------------------------------------
    Fix Version/s: 3.0.0-M9
                       (was: 3.0.0-M8)

> 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
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.0-M9
>
>
> 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.20.10#820010)