Status Quo
It is currently possible to declare @DisplayName("") (or containing only white space), but this should not be permitted.
If a user explicitly declares @DisplayName, the user must provide a non-empty name.
The same applies to display name patterns supplied via @RepeatedTest and @ParameterizedTest.
Related Issues
Deliverables
Status Quo
It is currently possible to declare
@DisplayName("")(or containing only white space), but this should not be permitted.If a user explicitly declares
@DisplayName, the user must provide a non-empty name.The same applies to display name patterns supplied via
@RepeatedTestand@ParameterizedTest.Related Issues
Deliverables
DisplayName.value.@DisplayName.TestInfoParameterResolverTests.customDisplayNameThatIsEmpty()@Test,@TestFactory, and@TestTemplatemethods (for repeated and parameterized tests as well).