meltz-dev opened a new issue, #840:
URL: https://github.com/apache/maven-surefire/issues/840

   ### Affected version
   
   3.5.3
   
   ### Bug description
   
   As reported in #839, with the latest version 3.5.3 I do not receive valid 
test reports for the Cucumber test runs.
   
   The test report shows that no test has been executed, skipped or failed. 
However, the console output of my test implementation confirms that the tests 
themselves have been executed.
   
   ```
   
-------------------------------------------------------------------------------
   Test set: com.x.RunAllCucumberTests
   
-------------------------------------------------------------------------------
   Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 s -- 
in com.x.RunAllCucumberTests
   
   ```
   
   
   Using version 3.5.2, the behavior is as expected. The test report contains 
the tests that were executed with Cucumber and a test error leads to a build 
error
   
   ```
   
-------------------------------------------------------------------------------
   Test set: com.x.RunAllCucumberTests
   
-------------------------------------------------------------------------------
   Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.161 s <<< 
FAILURE! -- in com.x.RunAllCucumberTests
   Calculator.Calculator - Calculator can perform an addition -- Time elapsed: 
0.095 s <<< FAILURE!
   org.opentest4j.AssertionFailedError: 
   
   expected: 4
    but was: 3
        at com.x.DummyCalculator.then(DummyCalculator.java:29)
        at ✽.I will receive a 4 as an 
answer(classpath:features/DummyCalculator.feature:7)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to