软件工程导论第7章 编码与测试3.ppt

新课引入: 穷举测试不可行吗? 白盒测试技术、黑盒测试技术 动态测试技术 * recall McCabe theory learn in programming. Just ask you to know how to find the number of 独立路径from a graph. All 独立路径 makes up 一个基本路径集 covers the whole graph. Try to make一个基本路径集 as small as possible. Each独立路径must contain one element not included in any other独立路径. 每个测试用例执行之后,与预期结果进行比较。 必须注意,一些独立的路径(如例中的path1),往往不是完全孤立的,有时它是程序正常的控制流的一部分,这时,这些路径的测试可以是另一条路径测试的一部分。 * recall McCabe theory learn in programming. Just ask you to know how to find the number of 独立路径from a graph. All 独立路径 makes up 一个基本路径集 covers the whole graph. Try to make一个基本路径集 as small as pos

文档评论(0)

1亿VIP精品文档

相关文档