maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-surefire] marcphilipp commented on issue #245: Surefire-1584: Add option to rerun failing tests for JUnit5
Date Fri, 01 Nov 2019 14:56:30 GMT
marcphilipp commented on issue #245: Surefire-1584: Add option to rerun failing tests for JUnit5

URL: https://github.com/apache/maven-surefire/pull/245#issuecomment-548818775
 
 
   > What would be the best text representation of each run of param.test?
   > Although the code has only one Java method, we should represent each combination of
parameters as if it was a separate method.
   > So we know that the class name is `pkg.MyTest`, method name is called `test` and the
parameter is `Hello [1]`. And my question is what is the best `description` of the method
in the report.
   > What a string.
   
   Just to be sure, we're on the same page, the test tree looks like this:
   
   - `JUnit Jupiter`
     - `pkg.MyTest`
       - `test(java.lang.String)`
         - `[1] Hello`
         - ...
   
   If you're looking for a technical name for `[1] Hello` you can call `getLegacyReportingName()`
on the `TestIdentifier` of the invocation (leaf in the above tree). It will return `test(java.lang.String)[1]`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message