testing_lab1

 

 

软  件  测  试  技  术

 

实

验

报

告

 

 

 

 

 

 

 

学    院     软件学院    

年    级     2013级      

班    级      一班       

学    号     3013218064  

姓    名     王贝妮      

2016 年 3 月 18 日


 

 

软件测试技术上机实验报告

 

 

题目:实验一

 

 

 

 

 

学院名称         软件学院         

专    业         软件工程        

学生姓名         王贝妮          

学    号    3013218064           

年    级          2013           

班    级          一班           

时    间     2016 年 3 月 18 日      

 

 目   录

 

                                                                                       

实验名称    1

实验目的    1

实验内容及步骤    1

实验分析    1

实验结论    2

 

 

 

实验名称

实验一

实验目的

  1. Install Junit(4.12), Hamcrest(1.3) with Eclipse
  2. Install Eclemma with Eclipse
  3. Write a java program for the triangle problem and test the program with Junit.

a)        Description of triangle problem:

Function triangle takes three integers a,b,c whichare length of triangle sides; calculates whether thetriangle is equilateral, isosceles, or scalene.

实验内容及步骤

测试计划

  1. 写函数
  2. 写测试
  3. 运行&Eclemma

 

实验分析

1.测试用例和结果

    下载了jar包和zip包,jar包装上了,运行结果如下:

 

没有找到eclemma的用法,请教了之后运行结果如下:

  

 

 

 

2.测试问题报告

    不会用插件,请教了一下

 

 

实验结论

学会了用插件

 

posted @ 2016-03-18 11:34  hailuy  阅读(168)  评论(0)    收藏  举报