Open rieske opened 3 years ago
Rule support is made on a best-effort basis, as they don't perfectly match with Spocks concepts, but works well enough most of the time. However, there might be cases - such as this one - where it doesn't perfectly work, I'd suggest to create a native Spock extension if possible.
Issue description
When JUnit4 rule throws while handling an unrolled feature iteration, the test failure is incorrectly attributed to the subsequent iteration. The outcome looks identical to https://github.com/spockframework/spock/issues/1267 and could point to the same root cause.
How to reproduce
Executing the above test will report the failures like this:
Additional Environment information
Build-tool dependencies used