摘要
基于集合进化优化方法,实现新的测试用例生成方法.实现的算法中,一个个体包含多个测试用例,一次运行该算法能够生成满足测试需求的测试用例集.实验结果表明,将实现的方法用于具体程序能够生成覆盖所有分支的测试用例集.
A new method for test case generation is implemented based on set-based evolu- tionary algorithm. In the implemented method, a chromosome represents several test ca- ses, thus generating a set of test cases which satisfy the testing requirements by running the method once. The experimental results suggest that the generated test cases Can cover all branches after applying the implemented method to a program.
作者
张功杰
谢春丽
ZHANG Gong-jie XIE Chun-li(School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China School of Computer Science and Technology, Jiangsu Normal University, Xuzhou 221116, China)
出处
《牡丹江师范学院学报(自然科学版)》
2017年第2期1-5,共5页
Journal of Mudanjiang Normal University:Natural Sciences Edition
基金
国家自然科学基金资助项目(61502212
61573362)
江苏师范大学自然科学基金(14XLA01)
关键词
软件测试
测试用例生成
进化优化
集合进化
software testing
test case generation
evolutionary optimization
set evolution