随笔分类 -  软件测试

软件测试 HW4
摘要:本周的作业,是“软件测试基础”教材 ExerciseSection2.3 的课后习题。 题目要求,用下面的方法printPrimes()完成相应问题。 代码如下: (a) 为printPrimes()方法画控制流图。 (b) 考虑测试用例t1=(n=3)和t2=(n=5)。即使这些测试用例游历pri 阅读全文
posted @ 2016-03-30 02:55 赵俊庭 阅读(393) 评论(1) 推荐(0)
软件测试 HW3 Lab1
摘要:一、安装Junit及Hamcrest 1. 在Intellij IDEA中新创建一个工程。 2. 右键->Open Module Settings->Libraries,添加Junit及Hamcrest。jar包导入完成。 二、创建三角形类Triangle。 三角形的情况分为: “不是三角形”,“等 阅读全文
posted @ 2016-03-19 00:07 赵俊庭 阅读(144) 评论(0) 推荐(0)
软件测试技术 hw2
摘要:1. Identify the fault. for循环的结束条件错误,少第一个元素,即:x[0]。 应该是:i >= 0。 2. If possible, identify a test case that does not execute the fault. (Reachability) x 阅读全文
posted @ 2016-03-07 00:12 赵俊庭 阅读(204) 评论(0) 推荐(0)
软件测试技术 hw1
摘要:作业题目: Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most. State 阅读全文
posted @ 2016-03-06 23:43 赵俊庭 阅读(196) 评论(2) 推荐(0)