java.lang.Exception: No runnable methods

 环境: 使用 spring + junit测试, 

出现这个问题, 

原因:  没有在测试的方法上加入@Test注解, 并引入正确的类

原文地址:https://www.cnblogs.com/alisonGavin/p/8675322.html