摘要
软件测试对于软件发展具有重要作用,有多种不同的软件测试技术,如何从中选择一个高效的测试技术是软件测试管理中的一个重要问题。本文针对该问题分析了覆盖水平与测试技术有效性之间的关系,并以路径覆盖测试和判定覆盖测试这两种方法为例进行了实验研究,结果表明在缺陷检出率及测试用例数与测试覆盖率之间遵循幂指数关系,这种幂指数关系有助于测试人员在给定覆盖率时,对缺陷发现率和需要的测试用例数进行预测。
Software testing plays a very important role in software development process. How to choose aneffective testing technique from a variety of techniques for software testing is one of the major problemsin software testing process management. Taking decision testing and all-paths testing that are importantand frequently used software testing techniques as an example, this paper presented a simple and easyoperatingmethodology for comparing two or more testing techniques in testing projects to know whichtechnique would be more effective and studied relationship between effectiveness and coverage level.The results show that either faults detected or the number of test cases required as a function of coveragelevel can be described using a power–law relation. The power–law relationship can help one to predictfaults and the number of test cases required when the value of coverage is given.
出处
《科技通报》
北大核心
2015年第1期217-220,224,共5页
Bulletin of Science and Technology
关键词
软件测试
测试技术选择
测试效率
幂指数关系
software testing
testing technique selection
testing effectiveness
power-law relationships