1. 中国矿业大学信息与电气工程学院,江苏,徐州,221116
2. 中国矿业大学理学院,江苏,徐州,221116
3. 武汉大学软件工程国家重点实验室,湖北,武汉,430072
4. 中国矿业大学信息与电气工程学院江苏徐州,221116
5. 中国矿业大学理学院江苏徐州,221116
6. 武汉大学软件工程国家重点实验室湖北武汉,430072
纸质出版:2012
移动端阅览
姚香娟, 巩敦卫. 基于路径比较的变异测试方法[J]. 电子学报, 2012,40(1):103-107.
YAO Xiang-juan, GONG Dun-wei. Mutation Testing Based on Comparison of Paths[J]. Acta Electronica Sinica, 2012, 40(1): 103-107.
姚香娟, 巩敦卫. 基于路径比较的变异测试方法[J]. 电子学报, 2012,40(1):103-107. DOI: 10.3969/j.issn.0372-2112.2012.01.017.
YAO Xiang-juan, GONG Dun-wei. Mutation Testing Based on Comparison of Paths[J]. Acta Electronica Sinica, 2012, 40(1): 103-107. DOI: 10.3969/j.issn.0372-2112.2012.01.017.
提出基于路径比较的变异测试方法.首先
通过比较穿越路径判定变异体是否被杀死;然后
建立基于路径覆盖的变异测试数据生成模型
该模型把杀死变异体作为目标
把满足特定路径覆盖作为约束;最后
采用遗传算法求解该模型.将本文方法应用于典型被测程序
结果表明
该方法可以降低变异测试的难度
并提高测试数据的生成效率.
This study proposed a mutation testing method based on comparison of paths.First
whether a mutation is killed is determined by comparing the traversed paths;then
a model of test data generation for mutation testing based on path coverage is proposed.In the mathematic model
the objective is to kill the mutation and the constraint is to traverse the chosen path.Finally
we applied the proposed method to some typical programs.The experimental results show that the proposed method can not only reduce the difficulty of mutation testing
but also improve the efficiency of generating test data.
0
浏览量
1326
下载量
4
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621