artemmukhin commented on issue #2692:
URL: 
https://github.com/apache/maven-surefire/issues/2692#issuecomment-7128622789

   Yes, and that is why the proposal does not touch `name` and `classname`: 
they stay the key of a test case. `displayName` is only a label for the reader 
to show.
   
   For example, `@ParameterizedTest(name = "same")` with two arguments gives:
   
   ```xml
   <testcase name="sums(int, int)[1]" displayName="same" 
classname="demo.ParamTest" time="0.001"/>
   <testcase name="sums(int, int)[2]" displayName="same" 
classname="demo.ParamTest" time="0.001"/>
   ```
   
   A reader must not use `displayName` as a key. IntelliJ IDEA will use `name` 
for the tree, navigation and rerun, and `displayName` only for the text of the 
node. I can write this in the XSD documentation of the attribute.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to