Col-E commented on a change in pull request #245: Surefire-1584: Add option to rerun failing tests for JUnit5 URL: https://github.com/apache/maven-surefire/pull/245#discussion_r315820300
########## File path: surefire-providers/surefire-junit-platform/src/main/java/org/apache/maven/surefire/junitplatform/RunListenerAdapter.java ########## @@ -259,4 +261,50 @@ else if ( testSource.filter( ClassSource.class::isInstance ).isPresent() ) return new String[] { source, source, display, display }; } } + + public String[] toClassMethodNameWithoutPlan( TestIdentifier testIdentifier ) Review comment: Are you referring to `toClassMethodName`? That couldn't be used because at the time of requesting class names for reruns the plan is set to `null`. Perhaps a null check in the original method would suffice or were you thinking of a different approach? ---------------------------------------------------------------- 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