摘要
针对GUI(Graphical User Interface)软件输入/输出图形化、事件驱动、事件触发随机性所带来的回归测试用例数量巨大的难题,在GUI事件模型图基础上,构建了GUI软件回归测试用例集优化数学模型,给出了目标函数和约束条件,提出了一种基于蚁群算法的求解方法,制定了蚂蚁信息素更新规则和蚂蚁路径选择规则。仿真结果表明,该方法在保证覆盖效果的前提下,可以有效减少回归测试用例的数量和长度。
Aimed at the large number of regression test cases caused by the features of graphical input/output,event driven,random event trigger in GUI(Graphical User Interface) software,and on the basis of GUI event model,a mathematical model of regression test suite optimization for GUI software is constructed.The objective function and constraints in the model are given.And an ant algorithm is presented to solve the problem.Ant pheromone update rules and ant path selection rules in the algorithm are set.Simulation results show that under the premise that coverage is guaranteed,this method can reduce both the number and length of test case effectively.
出处
《吉林大学学报(信息科学版)》
CAS
2012年第6期616-621,共6页
Journal of Jilin University(Information Science Edition)
基金
国家863高技术发展计划基金资助项目(2009AA01Z402)
关键词
蚁群算法
回归测试
测试用例集优化
ant algorithm
regression test
test suite optimization