junit, hamcrest and eclemma. a) junit的安装 步骤: 1. 从http://www.junit.org/ 下载junit相应的jar包; 2. 在CLASSPATH中加入JAR包所在的路径,如E:\Java\jar\junit\junit-4.10.jar; 3. ...
分类:
其他好文 时间:
2018-03-26 00:38:19
阅读次数:
221
软件测试作业——Junit使用 [TOC] 题目要求 1. Install Junit(4.12),Hamcrest(1.3) with Eclipse 2. Install Eclemma with Eclipse 3. Write a javaprogram for the triangle p ...
分类:
其他好文 时间:
2018-03-25 21:46:43
阅读次数:
255
Junit、Hamcrest、Eclemma的安装和使用 1.任务要求 Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triang ...
分类:
其他好文 时间:
2018-03-25 18:07:29
阅读次数:
205
今天完成了软件测试的上机,我会在如下的文章中对上述使用进行汇总: 一、Junit 和 Hamcrest 的安装 (1)第一种方法 其实Eclipse是自带Junit的,所以可以直接通过 右击选中的project → build path → add libraries → 选中junit,next直 ...
分类:
其他好文 时间:
2018-03-24 00:46:52
阅读次数:
220
软件测试第一次实验报告 3015207191 软件工程3班 林家乐 一、安装Junit,Hamcrest和Eclemma: 1.安装Junit 下载junit.jar,在项目里添加junit.jar并build一下即可。使用时,在项目内包含Junit4的库,其中包含junit.jar即说明安装成功。 ...
分类:
其他好文 时间:
2018-03-23 13:04:13
阅读次数:
170
1.实验要求 安装junit(4.12),Hamcrest(1.3); 安装 Eclemma; 写一个java程序用于判断一个三角形是否是等边、等腰或斜角,并用junit进行软件测试; 2.实验过程 安装junit(4.12)、Hamcrest(1.3) 下载junit和Hamcrest的jar包, ...
分类:
其他好文 时间:
2018-03-22 22:38:47
阅读次数:
203
一、简单描述下安装 junit, hamcrest and eclemma的过程 ①当然,有了eclipse软件,安装的过程会显得比较轻松 对于安装junit和hamcrest来说需要在官网(或者其它渠道)上面下载标准的jar包即可。 以上可以得到相应版本的jar文件,我使用的是hamcrest-c ...
分类:
其他好文 时间:
2018-03-22 22:36:18
阅读次数:
209
Jacoco介绍 Jacoco是一个开源的覆盖率工具。Jacoco可以嵌入到Ant 、Maven中,并提供了EclEmma Eclipse插件,也可以使用JavaAgent技术监控Java程序。很多第三方的工具提供了对Jacoco的集成,如sonar、Jenkins等。 官网地址:http://ww ...
分类:
其他好文 时间:
2017-12-04 17:38:48
阅读次数:
1486
和TestNG安装一致 Help -->Install New Software --> Add Name: Eclemma Location:http://update.eclemma.org 执行方法如下, 红色:没有执行 黄色:部分执行 绿色:没有执行 ...
分类:
其他好文 时间:
2017-11-03 12:56:55
阅读次数:
105
1.将https://gitee.com/happyfaye/Calculator项目fork到自己的项目下 2.阅读CalString类,分析四则运算的实现原理,了解代码审查工具,编写测试用例,进行单元测试,分析代码覆盖率 findbugs的使用: junit。。。。使用失败了 eclemma的使 ...
分类:
其他好文 时间:
2017-10-14 18:41:04
阅读次数:
175