| 摘要: |
| 在测试用例放回的情况下,关于随机测试和分割测试的比较,许多研究者做了大量的工作,取得了显著成果.在测试用例不放回的情况下,类似的比较工作在国内外文献中尚未见到.然而在实际工作中,尤其是在软件测试早期和模块测试阶段,测试用例是不放回的.因此,在测试用例不放回的情况下,对随机测试和分割测试进行了比较,得出4个结论.与Chen和Yu在测试用例放回情况下的研究成果相比,一个不同的发现是,在平分子域、错误数、测试次数时,分割测试不如随机测试效果好.另外还发现,如何利用各种信息分割出错误集中的区域,然后着重测试,这是分割测试的核心. |
| 关键词: 随机测试 分割测试 软件可靠性 软件测试 |
| DOI: |
| 分类号: |
| 基金项目:国家自然科学基金资助项目(90104010); 国家教育部博士点基金资助项目(2000035802) |
|
| Comparing Random Testing with Partition Testing Without Test Cases Replacement |
|
FANG Mu yun,ZHAO Bao hua,QU Yu gui
|
| Abstract: |
| Many researchers have compared the fault-detecting ability of random testing and partition testing with test cases replacement. Great achievements have been gained. Comparing random testing with partition testing without test cases replacement has not been 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 with partition testing under this case. In this paper 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 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 gives it a large number of tests is essential for partition testing. |
| Key words: random testing partition testing software reliability software testing |