-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify unit test display names #82
Labels
good first issue
Good for newcomers
Comments
Good idea, I will work on it. |
Closing not appropriate for this project to handle. |
I just opened a new JUnit issue to handle this case junit-team/junit5#3569 |
JUnit Pioneer plans to integrate this feature but they are waiting the decision of JUnit |
This feature will be implemented by JUnit Pioneer junit-pioneer/junit-pioneer#819 |
Its done junit-pioneer v2.3.0 junit-pioneer/junit-pioneer#819 💯 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many of the unit tests for the API use a display name that matches the method name like in this example:
data/api/src/test/java/jakarta/data/repository/PageableTest.java
Lines 44 to 53 in 2603399
Instead, we could use the
@DisplayNameGeneration
annotation on the class to automatically give tests displays names based on the test method name.For example:
This would result in display names of:
The text was updated successfully, but these errors were encountered: