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 最后的测试结果是绿了。但没有加三条边是否能组成三角形的用例。下面是覆盖率的截图。

时间: 2024-10-24 23:43:15

Software Testing Report,Triangle Problem, Lab 1, May 5th . 2016的相关文章

Software Testing, Lab 1

Software Testing, Lab 1 一.实验要求: Install Junit(4.12), Hamcrest(1.3) with Eclipse Install Eclemma with Eclipse Write a java program for the triangle problem and test the program with Junit. a)       Description of triangle problem: Function triangle ta

Software Testing Techniques LAB 02: Selenium

1. Installing 1. Install firefox 38.5.1 2. Install SeleniumIDE    After installing, I set the view of toolbox, then we can see this 3. Install Selenium Client & WebDrive 4. Install Selenium Standalone Server 5. Installed Test After downloading we hav

SOFTWARE TESTING LAB 01

1.The brief description that you install junit, hamcrest and eclemma Junit和hamcrest直接从网上下载得到jar包,添加进项目的build PATH中:eclemma直接在eclipse中的Eclipse marketplace搜索安装得到. 2.The test result and coverage report (printscreen) of your tests on triangle problem.

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

Tasks: 1. Install Junit(4.12), Hamcrest(1.3) with Eclipse 将两个jar包添加到工程中 2. Install Eclemma with Eclipse 3. Write a java program for the triangle problem and test the program with Junit. [Description of triangle problem]Function triangle takes three i

Software Testing, Lab 1 Juint-and-Eclemma

Tasks: Install Junit(4.12), Hamcrest(1.3) with Eclipse Install Eclemma with Eclipse 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 which

software Testing Lab1

JUnit以及hamcrest-core-1.3 安装步骤 首先,新建一个java项目,名字叫triangle,然后右键,选择Properties,点击Java Build Path, 选择Libraries选项,点击右边的 Add library 选项,选择JUnit4, 于是JUnit软件包就被包含在这个项目里了. 再点击Add External Jars 按钮,选择已经下载好的hamcrest-core-1.3.jar的文件位置,hamcrest-core-1.3.jar就被包含进项目.

软件测试实验1 — Junit 安装与 triangle problem 的测试

1.  Install Junit(4.12), Hamcrest(1.3) with Eclipse 选中新建的项目,右键->Propertise->Java Build Path->Add External JARs 然后选中之前下好的junit-4.12.jar与hamcrest-core-1.3.rc2.jar 点击OK即引入成功 2.  Install Eclemma with Eclipse 将Eclemma压缩包解压到eclipse下的dropins文件夹. 打开eclip

Exploratory Software Testing

最近找到去年上半年看过一本关于测试方面书籍的总结笔记,一直放在我的个人U盘里,当时是用Xmind记录的,现在重新整理下分享给大家了! James A.Whittaker [美] 詹姆斯·惠特克(软件测试领域绝对的大师)著作<Exploratory Software Testing>,中文名<探索式软件测试>,记得当时被这本书深深吸引啦(我不知道有多少做测试的小伙伴看过这本书)!感觉是测试方面一本必不可少的书籍,瞬间感觉测试的魅力!废话不多说,直接来干货,希望可以给对探索式测试喜欢或

Software Testing Concepts

Software Testing Concepts