问题
org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests
其实看这种控制台报错,就看coused by后面的语句
Caused by: org.junit.platform.commons.JUnitException: MethodSelector [className = 'com.ebms.hy.HyApplicationTests', methodName = 'test01', methodParameterTypes = ''] resolution failed
造成的原因就是我把test测试中的某个测试方法test01删了 然后又强制运行 idea找不到造成的
可以看到上面不存在了
下拉编辑删了就行。