Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.22.2, 3.0.0-M4
-
None
-
None
Description
The last two sentences here don't work any more with JUnit 5:
The Parameterized JUnit runner describes test methods using an index in brackets, so the non-regex method pattern would become #testMethod[*]. If using the JUnit annotation @Parameters(name="{index}: fib({0})={1}") and selecting the index e.g. 5 in pattern, the non-regex method pattern would become #testMethod[5:*].
See this SO question.
At least the docs should be updated to reflect this limitation to JUnit 4. It would be really nice to have this feature also for JUnit 5, but I've looked into the code a bit and I have the impression that it's not that easy. I didn't find any tests, either.