-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong naming with Junit Jupiter Parallel Execution and nested tests #125
Comments
Minimal example:
Resulting snapshot name: Resulting snapshot content:
|
It seems that this might be a bug in the JUnit Jupiter API Line 34 in cee4af4
|
Furthermore: When you mix test methods in and outside @nested classes, one .snap.debug file will not get deleted after test completion. In the example above, ConcurrentTests.snap.debug will remain inside snapshots. It seems book-keeping of files created is buggy. |
When running with
@Execution(ExecutionMode.CONCURRENT)
on class level and@Nested
test classes, it seems that all tests are named after the first nested test class that is run and then all tests are added to that snapshot file.Expected behaviour is of course that the names are the same with and without parallel execution of junit 5 tests.
The text was updated successfully, but these errors were encountered: