Improving Search-Based Software Testing by Constraint-Based Genetic Operators

被引:5
|
作者
Zhu, Ziming [1 ]
Jiao, Li [1 ]
机构
[1] Univ Chinese Acad Sci, State Key Lab Comp Sci, Inst Software, Chinese Acad Sci, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
search-based software testing; constraint-based testing; genetic operators; GENERATION;
D O I
10.1145/3321707.3321720
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Search-based software testing (SBST) has achieved great attention as an effective technique to automate test data generation. The testing problem is converted into a search problem, and a meta-heuristic algorithm is used to search for the test data in SBST. Genetic Algorithm (GA) is the most popular meta-heuristic algorithm used in SBST and the genetic operators are the key parts in GA. Much work has been done to improve SBST while little research has concentrated on the genetic operators. Due to the blindness and randomness of classic genetic operators, SBST is ineffective in many cases. In this paper, we focus on improving the genetic operators by constraint-based software testing. Compared with classic genetic operators, our improved genetic operators are more purposeful. For the selection operator, we use symbolic execution technique to help us select the test cases which have more useful heuristic information. Then, the constraint-based crossover operator recombines the test cases which have more probability to create better offspring individuals. Finally, the constraint-based mutation operator is used to improve the test cases in order to satisfy some specific constraints.We applied our constraint-based genetic operators in several benchmarks and the experiments reveal the promising results of our proposal.
引用
收藏
页码:1435 / 1442
页数:8
相关论文
共 50 条
  • [1] Search-based testing using constraint-based mutation
    Malburg, Jan
    Fraser, Gordon
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2014, 24 (06): : 472 - 495
  • [2] Constraint-Based Testing: An Emerging Trend in Software Testing
    Gotlieb, Arnaud
    [J]. ADVANCES IN COMPUTERS, VOL 99, 2015, 99 : 67 - 101
  • [3] Speeding up constraint-based program repair using a search-based technique
    Yi, Jooyong
    Ismayilzada, Elkhan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 146
  • [4] The Cloudification Perspectives of Search-based Software Testing
    Martin, Diego
    Panichella, Sebastiano
    [J]. 2019 IEEE/ACM 12TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST 2019), 2019, : 5 - 6
  • [5] SBSTFrame: a Framework to Search-Based Software Testing
    Machado, Bruno N.
    Camilo-Junior, Celso G.
    Rodrigues, Cassio L.
    Quijano, Eduardo H. D.
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2016, : 4106 - 4111
  • [6] Search-Based Secure Software Testing: A Survey
    Khari, Manju
    Vaishali
    Kumar, Manoj
    [J]. SOFTWARE ENGINEERING (CSI 2015), 2019, 731 : 375 - 381
  • [7] Broadening the Search in Search-Based Software Testing: It Need Not Be Evolutionary
    Feldt, Robert
    Poulding, Simon
    [J]. 2015 IEEE/ACM 8TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2015, : 1 - 7
  • [8] Improving constraint-based testing with dynamic linear relaxations
    Denmat, Tristan
    Gotlieb, Arnaud
    Ducasse, Mireille
    [J]. ISSRE 2007: 18TH IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2007, : 181 - +
  • [9] Defect Prediction Guided Search-Based Software Testing
    Perera, Anjana
    Aleti, Aldeida
    Bohme, Marcel
    Turhan, Burak
    [J]. 2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 448 - 460
  • [10] The Maturation of Search-Based Software Testing: Successes and Challenges
    Cohen, Myra B.
    [J]. 2019 IEEE/ACM 12TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST 2019), 2019, : 13 - 14