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
Duplicates occurring when generating unrolled causes test failures #1098 #1099
Duplicates occurring when generating unrolled causes test failures #1098 #1099
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1099 +/- ##
============================================
+ Coverage 74.12% 74.13% +0.01%
- Complexity 3472 3476 +4
============================================
Files 385 385
Lines 10678 10683 +5
Branches 1309 1309
============================================
+ Hits 7915 7920 +5
Misses 2302 2302
Partials 461 461
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about appending the iteration count in brackets instead (like SafeIterationNameProvider
does) in case a duplicate name is detected? That way the feature wouldn't have to be opt-in.
I wouldn't enforce that, a user might like it that iterations are named the same. For example the navigation in IJ then works properly. |
@marcphilipp that is another valid option, but I'd like this to be a conscious decision of the user, thus hidden behind a (possibly yet another) flag |
Does it when using a pattern? |
When using a pattern other than |
What are we trying to solve here?
So if we hide it behind a flag, it would probably only be used by you. However, if we don't do that, then we add the performance penalty to everyone. And I bet that at best only very few people are affected by this issue. This could also be done with as a third-party extension, so instead of setting the flag you'd add the extension. I'm personally leaning to this solution. At the end of the day, it is probably an issue with the reporting tool, at least for Spock 2.x, since it will report a |
This change is