[ 
https://issues.apache.org/jira/browse/SUREFIRE-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939678#comment-17939678
 ] 

Piotr Zygielo commented on SUREFIRE-2299:
-----------------------------------------

Note: for the 3.5.2 the testcase element inĀ {{TEST*.xml}} has the form:
{code:xml}
<testcase name="this is scenario" classname="this is also without dots and with 
spaces" time="0.009"> {code}
(for 3.5.3 it's completely missing).

> 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)

Reply via email to