摘要
在测试用例放回的情况下 ,关于随机测试和分割测试的比较 ,许多研究者做了大量的工作 ,取得了显著成果 .在测试用例不放回的情况下 ,类似的比较工作在国内外文献中尚未见到 .然而在实际工作中 ,尤其是在软件测试早期和模块测试阶段 ,测试用例是不放回的 .因此 ,在测试用例不放回的情况下 ,对随机测试和分割测试进行了比较 ,得出 4个结论 .与 Chen和 Yu在测试用例放回情况下的研究成果相比 ,一个不同的发现是 ,在平分子域、错误数、测试次数时 ,分割测试不如随机测试效果好 .另外还发现 ,如何利用各种信息分割出错误集中的区域 ,然后着重测试 。
Many researchers compare the fault-detecting ability of random testing and partition testing with test cases replacement. Great achievements are gained. Comparing random testing with partition testing without test cases replacement is not found in existing documents. However, in practice, especially at the early stage of testing and during module testing, test cases are not replaced. Therefore, it is necessary to compare random testing with partition testing under this case. It is done and four findings are proposed. One difference from the results done by Chen and Yu is that when the domain is divided into such subdomains with the same size, the same failures and the same test numbers, partition testing performed worst than random testing. How to form a subdomain with heavy failures by use of all kinds of information and then to give it a large number of tests is essential for partition testing.
出处
《软件学报》
EI
CSCD
北大核心
2001年第11期1687-1692,共6页
Journal of Software
基金
国家自然科学基金资助项目 (90 10 4 0 10 )
国家教育部博士点基金资助项目 (2 0 0 0 0 35 80 2 )~~
关键词
随机测试
分割测试
软件可靠性
软件测试
软件工程
Calculations
Error detection
Probability
Random processes
Reliability
Testing