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.测试问题报告

    不会用插件,请教了一下

实验结论

学会了用插件

原文地址:https://www.cnblogs.com/itria/p/5291394.html