软件测试实验报告

软件测试实验报告

 

 

 

 

 

 

 

班级     软工一班   

学号  3014218066   

姓名    马钰       

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. Install Junit(4.12), Hamcrest(1.3) with Eclipse

A.         直接build path。

添加Junit库,或者下好Junit和hamcrest包然后添加external JAR

 

 

  1. Install Eclemma with Eclipse

首先将下好的eclemma解压到eclipse的drops文件下,然后在eclipse help下拉菜单中,安装eclemma。

 

  1. Write a java program for the triangle problem and test the program with Junit.

The test result and coverage report

Junit:

 

 

 

Eclemma:

posted @ 2017-03-11 15:29  Marin_kobe  阅读(273)  评论(0编辑  收藏  举报