반응형
[2022.06.06] How to fix test error: 0 containers and 2 tests were Method or class mismatch?
해당 에러는 꼭 해결 안해도 된다. (TEST 진행시 정상적으로 작동)
* 하지만 본인은 신경 쓰여서 해결하기 위해 해당 게시글을 작성하였다.
Error Message
org.junit.platform.launcher.core.EngineDiscoveryOrchestrator lambda$logTestDescriptorExclusionReasons$7
정보: 0 containers and 2 tests were Method or class mismatch
원인 : 테스트 Method를 3개 작성하였는데 1개만 실행하였을 경우
해결 방법
- Settings > Build, Execution, Deployment > Build Tools > Gradle
- Build and run using & Run tests using value > Intellij IDEA 설정
반응형
댓글