You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Priyank Shah (JIRA)" <ji...@apache.org> on 2019/08/07 08:55:00 UTC
[jira] [Created] (SUREFIRE-1687) Incorrect test count displayed
with Maven Surefire
Priyank Shah created SUREFIRE-1687:
--------------------------------------
Summary: Incorrect test count displayed with Maven Surefire
Key: SUREFIRE-1687
URL: https://issues.apache.org/jira/browse/SUREFIRE-1687
Project: Maven Surefire
Issue Type: Bug
Reporter: Priyank Shah
## Steps to reproduce
- Run code from https://github.com/priyankshah217/junit5sample
- It has running strategy concurrent (method and class level)
```
junit.jupiter.execution.parallel.mode.default = concurrent
junit.jupiter.execution.parallel.mode.classes.default = concurrent
```
- Run test using `mvn clean test`
**Actual Output**
```
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.026 s - in SampleTest2
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.04 s - in SampleTest
```
https://gist.github.com/priyankshah217/c8860393e82eb18172e6bd2afda5957e#file-junit5executionlog
**Expected Output**
```
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.026 s - in SampleTest2
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.04 s - in SampleTest
```
## Context
- Used versions (Jupiter/Vintage/Platform): junit-jupiter-engine:5.5.1,junit-platform-runner:1.5.1
- Build Tool/IDE: mvn:3.6.1
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)