728x90
Intellij 에서 Junit 테스트를 하는 중 갑자기 Error가 발생했다.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':eatgo-common:test'.
> No tests found for given includes: (filter.includeTestsMatching)
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task
> No tests found for given includes:(filter.includeTestsMatching)
* 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
Junit 테스트 빌드 설정을 바꿔 문제를 해결할 수 있었다.
해결 방법은 아래와 같다.
IntelliJ IDEA >> Preferences >> Build, Execution, Deployment >> Build Tools >> Gradle
Run tests using: Gradle -> IntelliJ IDEA

728x90
'Software > 알고보면 쓸모있는 코딩스킬' 카테고리의 다른 글
[solved] unsupported class file major version 61 에러 해결 (0) | 2023.06.18 |
---|---|
실무에서 UPDATE 쿼리를 사용할 때 주의할 점 (0) | 2023.05.07 |
[인텔리제이] JUnit Test 실패 No tests found for given includes (0) | 2022.12.19 |
[node.js] 맥북(M2) Node 설치하기 (0) | 2022.12.10 |
[node.js] npm run serve 오류 vue-cli-service: command not found (0) | 2022.12.07 |
댓글