An Output-Oriented Approach of Test Data Generation Based on Genetic Algorithm

被引:1
作者
Zhang, Weixiang [1 ]
Wei, Bo [1 ]
Du, Huisen [1 ]
机构
[1] Beijing Inst Tracking & Telecommun Technol, Beijing 100094, Peoples R China
来源
ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2015 | 2015年 / 9532卷
关键词
Software testing; Test data generation; Functional test; Genetic algorithm; Evolution test; Software engineering; PRIORITIZATION; COVERAGE;
D O I
10.1007/978-3-319-27161-3_9
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Using genetic algorithm to transform test data generation problem into numerical optimization problem, evolution test is one of the hot topics in test data automatic generation. This paper proposed a software test data generation method based on evolution test, which was output-oriented and so suitable for black-box testing. The method transformed the coverage to software output domains into coverage to branches of pseudo-path by use of gray-box test technology. It defined a match function to describe the difference of the search trace to the aimed path, and then got its fitness function based on the match function. Some experimental results showed that the method implemented the coverage to software output domains, and was more efficient than random testing and manual testing.
引用
收藏
页码:100 / 108
页数:9
相关论文
共 15 条
  • [1] Ammann P., 2016, INTRO SOFTWARE TESTI
  • [2] BARESEL A, 2002, GECCO 2002, P1329
  • [3] BARESEL A, 2004, INT S SOFTW TEST AN, P108
  • [4] Automatic structural testing using genetic algorithms
    Jones, BF
    Sthamer, HH
    Eyres, DE
    [J]. SOFTWARE ENGINEERING JOURNAL, 1996, 11 (05): : 299 - 306
  • [5] Test-suite reduction and prioritization for modified condition/decision coverage
    Jones, JA
    Harrold, MJ
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (03) : 195 - 209
  • [6] Jun-lin Q.U.A.N., 2009, COMPUT ENG APPL, V45, P58
  • [7] Kaner C, 2004, NATURE EXPLORATORY T
  • [8] Using genetic algorithms for test case generation in path testing
    Lin, JC
    Yeh, PL
    [J]. PROCEEDINGS OF THE NINTH ASIAN TEST SYMPOSIUM (ATS 2000), 2000, : 241 - 246
  • [9] Patton R., 2006, Software testing
  • [10] Shi L., 2006, INT J COMPUT SCI NEW, V6, P44