摘要: 步骤: 1,选中工程名称,右键BuildPath→Add Libraries→Junit4 2,在主类种添加空参无返回值的方法 3,导入import org,junit.test; 4,在 test() 方法中,进行代码编写 5,双击 test 方法名,右键 run as -JUnit Test 6 阅读全文
posted @ 2018-07-20 21:23 黄文星 阅读(116) 评论(0) 推荐(0) 编辑