软工测试作业3
来源:互联网 发布:oracle 编程 书籍推荐 编辑:程序博客网 时间:2024/05/29 09:52
Learn to install and use Junit, Hamcrest and Eclemma
1.Installization
1.1 Junit
Firstly, download Junit 4.12 from http://junit.org/junit4/
In order to install Junit, open Eclipse and find Properties -> Java Build path -> Add Extential Jars... and find the package you just downloaded.
After some time, your project is ready to use Junit.
1.2 Hamcrest
Firstly, download the package of Hamcrest from their official site.
Then, install the package just like the way you install junit.
1.3 Eclemma
Open Eclipse, and find Help ->Eclipse Marketplace , search for Eclemma and install it.
2. Use Junit for testing.
Right click the class you want to test and find New -> Junit test case
3.Use of eclemma
- 软工测试作业3
- 软工测试作业5
- 作业01 测试实例
- 软件测试作业hw3_TestPrintPrimes
- 软件测试作业一
- 软件测试作业2
- 软件测试作业进度
- 软工第一次作业
- 软工第一次作业
- 软工第一次作业
- 软工第一次作业
- 服务计算作业3——agenda(测试)
- 作业:C++作业3
- 作业:C++作业3
- 作业:C++作业3
- JobTracker健康监控测试作业
- hadoop集群远程作业测试
- 软件测试技术第一次作业
- 一些面试基本知识(JAVA篇二)
- 接口
- 软件测试作业2
- HTML5基础加强css样式篇(css属性border圆角:border-radius)(三十五)
- Python进阶(二十七)-字符串大小写转换
- 软工测试作业3
- 费马小定理判断素数
- 软件工程测试4
- MINA详解(转)
- HttpUrlConnection与HttpClient的认识(六) -实际应用之刷网络流量
- 软工测试作业5
- 使用TortoiseSVN时出错: Can't use Subversion command line client: svn...
- mui实现二维码扫描
- 博客专家3月原创奖励