摘要
随机测试在软件和硬件测试中都有广泛应用,在软件测试中一般应用于黑盒测试。利用随机测试在软硬件中的一致性特点,将针对数字系统随机测试开发的最大距离测试概念研究成果,通过转换和改造,应用于软件黑盒测试,称为软件最大距离随机测试法。通过对基准程序TCAS的39个变异体测试的实验结果表明:所提的新方法是一种有效的可以提高软件黑盒测试功效的方法,它不仅提高了软件随机测试的效率,而且降低了测试成本,相对于传统的软件随机测试而言,在故障覆盖率方面有着十分明显的改进和提高。
Random testing is widely used in both software and hardware testing, which is applied in black box testing in software. This paper takes advantage of the comn^n features of hardware and software in random testing, applying file new concept of the maximum distance among test patterns called Maximum Distance random testing into software which has been originally used in hardware testing by using some suitable transformations and im- provements; and some favorable results have been obtained. The experimental results on 39 mutants (faults) in- serted in a normal benchmark program called TCAS in the paper have shown that the new algorithm can bring a- bout not only higher fault coverage but also lower test cost compared to the conventional random testing.
出处
《西南科技大学学报》
CAS
2013年第3期66-72,共7页
Journal of Southwest University of Science and Technology
基金
国家自然科学基金项目(61076123)
关键词
软件黑盒测试
随机测试
最大距离测试
准最大距离测试
Software black-box testing
Random testing
Maximum distance testing
Quasi-maximum distance testing
Universal random testing