Tibor17 commented on issue #245: Surefire-1584: Add option to rerun failing 
tests for JUnit5 
URL: https://github.com/apache/maven-surefire/pull/245#issuecomment-548556737
 
 
   @Seijan 
   If I use two parameters, I always have the same description on the method. 
So we cannot recognize which run it is and the logic guessed that it was 
already the rerun. That's the problem.
   Instead using 
`[engine:junit-jupiter]/[class:pkg.ParamTest]/[test-template:test(java.lang.String)]/[test-template-invocation:#1]`
 for the method name solves the unique identity of the runs but it does not 
look so well in the report.
   And the next issue I found with `@ParameterizedTest` is this the method 
`getDisplayName()` which returns `Hello [1]` but it is the method parameter and 
no display name. I do not know why it does not return `null` if I have no 
annotation `@DisplayName`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to