본문 바로가기

Programming/VisualStudio

Microsoft unit test do not hit breakpoint problem

반응형

문제 : UnitTest 실행시 브레이크포인트가 잡히지 않음

 

출력에 아래와 같은 문구가 보인다면

[kr]

경고: MSTest V2 어댑터에서는 testsettings 파일, ForcedLegacyMode를 true로 설정한 runsettings 파일 또는 vsmdi 파일이 지원되지 않습니다.

[en]

A testsettings file or a runsettings with a ForcedLegacyMode set to true is not supported with the MSTest V2 Adapter. No test is available.

 

해결VisualStudio 상단 [테스트] 메뉴 - 테스트 설정 - ...Local.testsettings 체크해제 후 다시시도

VS 2017 Pro 15.9.13 기준

반응형