...

/

@DisplayName Annotation on Test Methods

@DisplayName Annotation on Test Methods

This lesson demonstrates how to provide custom display names to test methods.

We'll cover the following...

@DisplayName on @Test Methods

JUnit 5 @DisplayName annotation is also used to provide a custom name for the @Test methods. Usually, by default, JUnit 5 ...