여니의 프로그래밍 study/Spring & Spring Boot

[Error] 0 containers and 2 tests were Method or class mismatch

여니's 2021. 9. 7. 15:46

Settings -> Build, Execution, Deployment -> Build Tools -> Gradle

Build and run using과 Run tests using의 속성 = Intellij IDEA로 해주면 해결!!

빌드할 때 JUnit으로 테스트가 진행 되어야하지만,

Gradle로 실행되어 발생함.