引用本文:章晓芳,徐宝文,聂长海,史亮.一种基于测试需求约简的测试用例集优化方法.软件学报,2007,18(4):821-831
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 6428次   下载 8224 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种基于测试需求约简的测试用例集优化方法
章晓芳1,2, 徐宝文1,2, 聂长海1,2, 史亮1,2
1.东南大学,计算机科学与工程学院,江苏,南京,210096;2.江苏省软件质量研究所,江苏,南京,210096
摘要:
测试用例集优化的目标是用尽可能少的测试用例充分满足给定的测试目标.针对给定的测试目标,获得精简的测试需求集有助于提高测试用例集优化的效率和效果.从测试需求约简的角度考虑测试用例集优化,首先给出可以精确描述测试需求间相互关系的测试需求约简模型;基于此模型,提出一种测试需求约简方法,可以获得精简测试需求集,作为测试用例集生成和约简的基础,从而实现测试用例集优化.实验结果表明,测试需求约简有助于获得规模较小的测试用例集,实现系统、科学、有效的测试.
关键词:  软件测试  白盒测试  结构测试  测试需求  测试用例集优化
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60403016,60633010(国家自然科学基金); the National Science Foundation for Distinguished Young Scholars of China under Grant No.60425206 (国家杰出青年科学基金); the Natural Science Foundation of Jiangsu Province of China under Grant No.BK2005060 (江苏省自然科学基金); the Excellent Talent Foundation on Teaching and Research of Southeast University of China (东南大学优秀青年教师教学科研资助)
An Approach for Optimizing Test Suite Based on Testing Requirement Reduction
ZHANG Xiao-Fang,XU Bao-Wen,NIE Chang-Hai,SHI Liang
Abstract:
Test suite optimization aims at satisfying all testing objectives with the least number of test cases. According to the given testing objectives, the reduced testing requirement set can improve the effectiveness and efficiency of test suite optimization. This paper proposes a testing requirement reduction model that can describe the interrelations among the testing requirements in detail. Based on the model, this paper presents a testing requirement reduction method to generate the reduced testing requirement set, which is the basis of test suite generation, reduction and optimization. The experimental results show that the method is helpful to generate the smaller test suite and it contributes to the systematic, reasonable and effective testing.
Key words:  software testing  white-box testing  structural testing  testing requirement  test suite optimization