-
Notifications
You must be signed in to change notification settings - Fork 181
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
Duplicate test names #175
Comments
Can junit report filename be generated using full path to the test file? |
I've looked at |
See also jestjs/jest#4607 |
Jest 22 has added testPath to test case: jestjs/jest#4594 Would you consider adding that to the topLevel |
We just experienced this issue in which our CI let a failing test pass the build because the other test with the same name passed. It also lead to the realization that about 15 other test cases weren't being evaluated properly by the CI. |
I'm sorry you have experienced problems. Please consider creating a pull request with appropriate improvements and I'd be happy to include those and produce a new build. |
I'm using jasmine-reporters with jest.
Unfortunately, it doesn't detect duplicate names. So when you have multiple identical describes, multiple test results will be written to the same file. E.g.:
So the build would be flaky: sometimes it will fail. Sometimes it will pass.
Apparently, there's no way to detect this in jasmine reporters level, since jest can run those in different workers (node processes). Any suggestions?
The text was updated successfully, but these errors were encountered: