首页 > 代码库 > java.lang.Exception: No runnable methods 解决方案

java.lang.Exception: No runnable methods 解决方案

Running org.jeecgframework.AbstractUnitTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.311 sec <<< FAILURE!
initializationError(org.jeecgframework.AbstractUnitTest) Time elapsed: 0.016 sec <<< ERROR!
java.lang.Exception: No runnable methods

 

在src/test/java文件夹下的类中添加 @Test注解 或者将类设置成abstract

java.lang.Exception: No runnable methods 解决方案