检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:曾凡平[1,2] 袁园[1] 潘能刚[1] 邓超强[1]
机构地区:[1]中国科学技术大学计算机科学与技术学院,合肥230026 [2]安徽省计算与通讯软件重点实验室,合肥230026
出 处:《小型微型计算机系统》2011年第11期2174-2181,共8页Journal of Chinese Computer Systems
基 金:安徽省自然科学基金项目(11040606M131)资助
摘 要:随机测试以其自动化程度高、揭错能力强的优势一直在测试用例的自动化生成领域占据着重要的地位,但其冗余度高、覆盖率低的缺陷限制了它的应用.程序不变量是程序的某个或某些特定的点上保持为真的属性,它可以提供程序运行时的有价值的信息.提出一种不变量指导下的随机测试用例的自动化生成方法.这种方法通过提取程序运行时的动态不变量,指导随机测试用例的生成,并且利用随机生成的无效用例的反馈信息,约简冗余的随机用例空间,增大了选中有效用例的概率.实验结果表明,该方法在保持随机测试的高揭错能力的前提下,可以有效的降低随机测试的冗余度,提高其覆盖率.Random testing method occupies an important position in software testing for its high automation and the ability of finding software faults. However, the problem of high redundancy and low coverage limits the random testing method's application. A program invariant is an attribute which keeps true at one or some points of a program. It can provide valuable information about the running program. In this paper, we propose a method that generates test cases automatically under the guidance of program invariants. By getting dynamic program invariants during the program running, the method guides the generation of random test cases and reduces the useless random space according to the useless test cases generated before, and increases the probability of selecting effective test cases. Experiment results show that, on the basis of not reducing the ability of finding software fault of random testing, the method can effectively reduce redundancy and improve the coverage.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.36