测试 | 单元测试工具 | JUnit

 

 

http://junit.sourceforge.net/javadoc/org/junit/Assert.html

使用:

新建测试类:

在预测试的类上点击右键--->NEW--->Junit Test Case

原文地址:https://www.cnblogs.com/jj81/p/9856760.html