기본적으로 테스트를 실행하면 테스트의 이름들이 결과창에 출력됩니다.

이 때 기본 표기 전략은 메소드 이름입니다.
그래서 보통 어떤 테스트인지 나타내기 위해서 메소드 이름을 언더바를 사용해 길게 쓰게 됩니다.
@Test
void create_new_study() {
...
}
@Test
@Disabled
void create_new_study_again() {
...
}

근데 이렇게 언더바를 붙이지 않고 원하는 문자열로 나타내는 방법이 있습니다.
**@DisplayNameGeneration(DisplayNameGenerator.ReplaceUnderscores.class)**
class StudyTest {
@Test
void create_new_study() {
Study study = new Study();
assertNotNull(study);
System.out.println("create");
}
@Test
@Disabled
void create_new_study_again() {
System.out.println("create1");
}
}
기본 구현체로 ReplaceUnderscores 제공합니다.

underscores를 빈 공백으로 치환합니다.
@DisplayNameGeneration(DisplayNameGenerator.ReplaceUnderscores.class)
class StudyTest {
@Test
@DisplayName("스터디 만들기")
void create_new_study() {
Study study = new Study();
assertNotNull(study);
System.out.println("create");
}
@Test
@Disabled
void create_new_study_again() {
System.out.println("create1");
}
}
