
软件测试
文章平均质量分 55
xuqianghit
互联网门外汉
展开
-
junit jumpstart
这篇文章是junit的入门,文章主要包含下面的几个部分:1.junit是什么?我们为什么要使用junit这个框架?使用junit框架能够给我们带来什么?2.一个简单的junit的测试demo。 1.junit是什么?JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.简单的说junit是一个简单的旨在编写重原创 2010-10-10 09:19:00 · 639 阅读 · 0 评论 -
根据三边长度判断三角形的形状 c语言
<br />// 测试用例:<br /> // 直角三角形:3 4 5<br /> // 钝角三角形:3 5 7<br /> // 锐角三角形:6 6 6<br /> #include <stdio.h><br /> #include <stdlib.h><br /><br /> // test if the three number is a triangle<br /> int isTriangle(int a, int b, int原创 2010-11-17 19:48:00 · 5163 阅读 · 0 评论 -
vs2008软件测试实战 2 test driven development
Test Driven Development 1.什么是测试驱动开发?2.使用“测试驱动开发”过程?3.测试驱动开发的好处是什么?4.一个好的unit test的特征5.通过一个简单实例了解“测试驱动开发”的过程6.参考资料1.什么是测试驱动开发?简单的讲“测试驱动开发”就是说在编写代码之前,首先编写测试用例,编写完成的代码需要能够通过测试用例的验证,也就是相当于首先明确要编写的代码的功能需求,然后开始编写代码,最终需要满足上述的功能需求。下面这幅漫画生动的解释了tdd是如此的具有魅力: 2.使用“测试驱原创 2011-01-18 21:17:00 · 826 阅读 · 0 评论 -
JUnit: The input type of the launch configuration does not exist
<br />If you are getting the above error message in Eclipse IDE, while running your test case, just make sure that you have the test class as a part of the “eclipse source folder” definition. Easiest way. Right click on the folder –> Build Path –>Use as so原创 2010-11-22 20:45:00 · 2254 阅读 · 0 评论 -
vs2008软件测试实战 1
<br />1.也说说软件测试<br />2.vs2008软件测试实战的主要内容<br />1.也说说软件测试<br /> <br />上学期刚刚上完软件测试的课程,实验课上讲解了不少测试工具的使用(例如ibm function tester、load runner等),但是却是缺少了对vs test的讲解,只能自己补上,就也是这系列博文产生的原因吧。该系列博文中将不包含软件测试的最核心的思想的讲解(如何认识软件测试,如何设计测试用例,这些其实是软件测试的"内功心法"),而主要是了解怎么使用vs这个相当po原创 2011-01-18 20:27:00 · 675 阅读 · 0 评论 -
vs2008软件测试实战 3 web test(1)
<br />web test<br /> <br /> <br />1.什么是web test?<br />2.web测试实战<br /> <br /> <br />1.什么是web test?<br /> <br />通常意义上的web test是有一些列的web request组成。web test通常情况下是不运行js的,但是可以通过plug-in的形式对js的行为进行模拟。web test主要是用于测试网站的功能测试和性能测试、负载测试等。<br /> <br />vs2008测试的通常做法是首先新原创 2011-01-21 16:13:00 · 864 阅读 · 0 评论