[ https://issues.apache.org/jira/browse/SUREFIRE-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940023#comment-17940023 ]
Piotr Zygielo commented on SUREFIRE-2299: ----------------------------------------- I do not have full understanding of this puzzle yet. But while SUREFIRE-2298 (for nested tests) seems to at least collect summary correctly, this one lets failures to pass without reporting them. (Perhaps reproducer could be updated to show that case? I'd negate {{printSummary}} and {{testFailureIgnore}} as well.) While the 5aeca19716dedc4cbcab8d68dfc74a99f50ce9ee might be the cause of both, the responsible line could be different. FWIW, at this moment, 5aeca19716dedc4cbcab8d68dfc74a99f50ce9ee still reverts cleanly. > Missing tests inside Surefire report for Cucumber scenarios > ----------------------------------------------------------- > > Key: SUREFIRE-2299 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2299 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 3.5.3 > Reporter: Florin Slev > Priority: Major > Attachments: TEST-io.example.CalculatorTest.xml, > io.example.CalculatorTest.txt > > > It seems Maven Surefire 3.5.3 no longer generates test reports when executing > Cucumber scenarios. > Steps: > 1.) Git clone the following showcase project > https://github.com/fslev/cucumber-showcase > 2.) Run Maven command > {code} > mvn clean test > {code} > Actual: > Though the scenarios were successfully executed, there is no related > information inside target/surefire-reports/io.example.CalculatorTest.txt > Tests run: 0 > {code} > ------------------------------------------------------------------------------- > Test set: io.example.CalculatorTest > ------------------------------------------------------------------------------- > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.17 s -- in > io.example.CalculatorTest > {code} > 3.) Downgrade Maven Surefire to 3.5.2 > Actual: > Everything works fine now. > Might be related to https://issues.apache.org/jira/browse/SUREFIRE-2298 -- This message was sent by Atlassian Jira (v8.20.10#820010)