JUnit 报Method 'initializationError' not found. opening the test class错误

JUnit 报Method 'initializationError' not found. opening the test class错误

原因一:hamcrest-core-1.3.RC2.jar和hamcrest-library-1.3.RC2.jar没有添加到项目里面

原因二:测试的方法不是用public修饰的

猜你喜欢

转载自blog.csdn.net/u012918886/article/details/80614613