Configure index in @ParameterizedTest display names
This commit prepends "[{index}] " to all custom display names
configured via @ParameterizedTest.
This provides better diagnostics between the "technical names" reported
on the CI server vs. the "display names" reported within a developer's
IDE.
See gh-23451
This commit is contained in:
@@ -116,7 +116,7 @@ class HandlerMethodAnnotationDetectionTests {
|
||||
}
|
||||
|
||||
|
||||
@ParameterizedTest(name = "controller [{0}], auto-proxy [{1}]")
|
||||
@ParameterizedTest(name = "[{index}] controller [{0}], auto-proxy [{1}]")
|
||||
@MethodSource("handlerTypes")
|
||||
void testRequestMappingMethod(Class<?> controllerType, boolean useAutoProxy) throws Exception {
|
||||
setUp(controllerType, useAutoProxy);
|
||||
|
||||
Reference in New Issue
Block a user