JUnit

Exception:no test found matching

原因:仅仅导入了junit包,未导入hamcrest-core-1.3.jar包。

使用JUnit需注意:

@Test不可以测试Static修饰的方法,不可测试private修饰的方法

原文地址:https://www.cnblogs.com/kongieg/p/11037856.html