jamshidCo opened a new issue, #834:
URL: https://github.com/apache/maven-surefire/issues/834
### Affected version
3.5.3
### Bug description
Hello,
Using JDK:
- openjdk 21.0.5 2024-10-15 LTS
- Apache Maven 3.9.9
- maven surfire plugin
### Issue
When running integration tests using `cucumber-junit-platform-engine` with
`maven-surefire-plugin` version 3.5.3, the tests are executed and the logs are
printed, but the final test summary says:
`Tests run: 0, Failures: 0, Errors: 0, Skipped: 0`
This behavior does not happen in version 3.5.2 — in that version, Cucumber
integration tests are correctly counted in the final summary — even though
Cucumber scenarios are technically not individual JUnit test methods.
But in version 3.5.3, this seems to have changed:
- Tests still run
- Output/logs appear
- But Tests run: 0 appears at the end
➤ That can mess with CI pipelines or give misleading reports.
Example `pom.xml`:
```
<configuration>
<includes>
<unit.test.includes>Unit tests includes
here</unit.test.includes>
<integration.test.includes>**/CucumberEntryPoint.java</integration.test.includes>
</includes>
</configuration>
```
### Expected Behavior
The final summary should include the number of Cucumber scenarios executed
(like in 3.5.2).
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]