반응형
최근에, 인텔리제이를 이용한 TDD 템플릿 제작을 포스팅했었다,,
이때 어노테이션으로 "@DisplayName"을 사용하였으나, 테스트 진행 시 한글이 보이지 않기에 해당 부분을 수정한 이력을 기록해 본다.
테스트를 실행했고, 통과가 됨을 확인했으나,,, 어디가 통과인지 한눈에 보지 못하는 경우가 존재한다.
해당 방법을 해결하기 위한 과정..
VM Options 수정하기
상단의 "Help" > "Edit Custom VM Options"를 클릭한다.
클릭 시, 에디터 창으로 파일 하나가 열리게 된다.
해당 파일 내의 코드를 기입하고 저장하고 닫는다.
-Dfile.encoding=UTF-8
인텔리 제이를 종료하고 다시 실행한 후, 테스트 코드 실행 시 한글이 보이는 것을 확인할 수 있다.
728x90
반응형
'Programming > Java' 카테고리의 다른 글
추후 어떤 사이트인지 확인하려고 정리해두는 사이트 모음들 (0) | 2024.08.05 |
---|---|
[Error] 스프링부트 빌드/실행시 나타나는 에러 해결법 (0) | 2023.09.22 |
IntelliJ를 이용한 Live Template 생성하기 (부제 : TDD 진행하기) (0) | 2023.09.20 |
[Error 해결법] Database {{디렉토리 경로}} not found, either pre-create it or allow remote database creation (0) | 2023.05.25 |
[Error 해결법] org.h2.jdbc.JdbcSQLNonTransientConnectionException: Unsupported connection setting "MVCC" (0) | 2023.05.25 |