摘要
为了提高测试用例继承中缺陷发现效率,提出了一种有效的雷达软件测试用例复用模型,并将其应用到雷达软件测试用例优化设计中。根据工程实际情况,在公共测试用例库的基础上,以提高测试效率、降低测试成本为目标函数,采用蚁群算法进行用例集的寻优,给出复用用例的筛选、简化、抽象和适应性修改方法;以复用用例测试执行结果作为评估依据,持续改进和更新复用用例数据库,实现高执行率和成功率的测试用例复用。
In order to improve the efficiency of finding bug in software testing case inheritance design, a model of radar software tes- ting case is presented, and it has been used in testing cases optimization. According to the condition of testing project, a public testing case base is taken as the base. Improving testing efficiency and reducing testing cost are taken as aim function, then ant colony algorithm is used to figure out the optimized testing case suite. The ways of filtrating, predigesting, abstracting and modifying reused cases are prompted, and the results of testing cases' execution are taken as evaluating criterion to update the reused testing case base, which redound to realize reusing testing cases with high efficiency and high success rate.
出处
《现代雷达》
CSCD
北大核心
2012年第3期78-82,共5页
Modern Radar
关键词
用例复用
软件测试
集合覆盖
蚁群算法
case reuse
software testing
set covering
ant colony algorithm