Software Testing Report,Triangle Problem, Lab 1, May 5th . 2016

首先要在eclipse里安装junit, hamcrest 和 eclemma 插件,可以在http://junit.org/junit4/ 上找到插件的下载,国内网估计下不了需要FQ,我就用的myeclipse,里面直接自带。http://www.myeclipsecn.com/ 这是myeclipse的官网链接。

然后就是开始编程序和测试程序具体的Java在github上,链接:https://github.com/DongArvin/Triangle-Test1 最后的测试结果是绿了。但没有加三条边是否能组成三角形的用例。下面是覆盖率的截图。

posted @ 2016-05-05 11:38  Arvin_Dong  阅读(211)  评论(0编辑  收藏  举报