You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display the JUnit 5 display name at the TEST RESULT. #1595
The reason why current implementation put the display name as the description part is that: the display name can only be resolved at the runtime. So, we have to show the method declaration name at first before the test case runs.
It would be nice, if the TEST RESULT (which I understand that it is generated after execution) is able to display the JUnit 5 display name instead.
Especially it may be enhanced to display as the fancy and colorful thing in the future. Credit: baeldung
└─ Display name generator unit test ✓
├─ A number is buzz... ✓
│ ├─ A number is buzz if it is one of the following numbers. ✓
│ │ ├─ Number 5 is buzz. ✓
│ │ ├─ Number 10 is buzz. ✓
│ │ └─ Number 20 is buzz. ✓
│ └─ A number is buzz if it is divisible by five. ✓
└─ A number is fizz... ✓
├─ A number is fizz if it is one of the following numbers. ✓
│ ├─ Number 3 is fizz. ✓
│ ├─ Number 12 is fizz. ✓
│ └─ Number 18 is fizz. ✓
└─ A number is fizz if it is divisible by three. ✓
Activity
jdneo commentedon Aug 11, 2023
Hi Charlee Chitsuk (@charleech), thanks for the feedback. I linked your request to #1588