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 2025/03/31 12:13:00 UTC
[jira] [Commented] (SUREFIRE-2299) Missing tests inside Surefire report for Cucumber scenarios
[ https://issues.apache.org/jira/browse/SUREFIRE-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939664#comment-17939664 ]
Michael Osipov commented on SUREFIRE-2299:
------------------------------------------
Can you share the test XML files?
> 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
>
> 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)