[IntelliJ] Execution failed for task ':test'. 오류

SihoonCho·2022년 10월 26일
post-thumbnail

📌 오류


Execution failed for task ':test'.
> There were failing tests.
See the report at: file:///C:/Users/Username/Desktop/
�����%20��ũ�ڽ�%20�����ڽ�/java-onboarding/
build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

📝 원인


테스트 메서드명이 한글일 경우 발생하는 오류

📖 해결방법


테스트 구동을 Gradle -> IntellJ IDEA로 변경

1) Ctrl + Alt + s -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Run tests using -> IntelliJ IDEA
2) File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Run tests using -> IntelliJ IDEA

profile
개발을 즐길 줄 아는 백엔드 개발자

0개의 댓글