软件工程作业---单元测试

结对同学:王航      链接地址 http://www.cnblogs.com/wangh013/

本次编程的开发工具是MyEclipse,环境是windows 7。

项目名称f4,在项目上右键,选择“properties”,如下图

然后选择 Java build path ,然后选择libraries ,最后选择add library,进入如下界面

选择junit,然后选择junit4

点击next,选择要测试的函数

然后自己写测试用例

 git地址

链接地址:https://git.coding.net/lick468/f4.git

原文地址:https://www.cnblogs.com/lick468/p/7643738.html