I have a Junit 5 test
@ParameterizedTest(name = "{index}: {0}")
@MethodSource("data")
test_CHECKVALUE(String, Boolean, String)
If I run this test in VS code the name of the test in the Test Runner for Java will be
1: Check Negative Value
If I run this test using maven it will output
[ERROR] test.value.CHECKVALUE(String, Boolean, String)[4] -- Time elapsed: 1.435 s <<< FAILURE!
The junit 4 tests still output errors as I expect
[ERROR] test.value.DATES[12 (Negative search by Created Date)] -- Time elapsed: 0.410 s <<< FAILURE!
I've been looking everywhere for a solution and all I've found is people saying years ago surefire doesn't handle the reports the same way and then they will probably fix it in the future. The surefire version we are using 3.5.2
Is there anyway to have surefire reports give the values in the ParameterizedTest