강의

멘토링

커뮤니티

Inflearn Community Q&A

yhkim0525565458's profile image
yhkim0525565458

asked

Real-world! Developing a library management application with Kotlin and Spring Boot (Refactoring a Java project)

test 코드 실행시 경고가 발생합니다.

Written on

·

128

0

test 코드 실행시

12월 30, 2024 10:47:24 오후 org.junit.platform.launcher.core.EngineDiscoveryOrchestrator lambda$logTestDescriptorExclusionReasons$7

INFO: 0 containers and 3 tests were Method or class mismatch라는 경고 메시지가 뜹니다.

 

test 코드가 돌아가는 데 큰 무리는 없지만 개인적으로 궁금해서 질문드립니다.

 

image.png

 

javaspringkotlinspring-boot리팩토링

Answer 1

0

lannstark님의 프로필 이미지
lannstark
Instructor

안녕하세요! YH K님! 🙂

넵넵! 해당 warning은 상관 없습니다!

https://stackoverflow.com/questions/68465659/what-causes-a-junit-warning-org-junit-platform-launcher-core-enginediscoveryorch 에 따르면, gradle을 이용해 테스트를 수행할 때 여러 테스트가 존재함에도 하나만 실행시키면 위와 같은 경고가 나올 수 있다고 하네요!

실제 실행시킨 테스트 코드가 동작하는데는 영향을 주지 않습니다.

감사합니다! 🙇

yhkim0525565458's profile image
yhkim0525565458

asked

Ask a question