Ariadne: Evolving Test Data Using Grammatical Evolution

被引:4
|
作者
Anjum, Muhammad Sheraz [1 ]
Ryan, Conor [1 ]
机构
[1] Univ Limerick, Dept Comp Sci & Informat Syst, Limerick, Ireland
来源
GENETIC PROGRAMMING, EUROGP 2019 | 2019年 / 11451卷
关键词
Automatic test case generation; Code coverage; Evolutionary testing; Grammatical Evolution; Variable interdependencies; SOFTWARE TEST DATA; TEST DATA GENERATION;
D O I
10.1007/978-3-030-16670-0_1
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software testing is a key component in software quality assurance; it typically involves generating test data that exercises all instructions and tested conditions in a program and, due to its complexity, can consume as much as 50% of overall software development budget. Some evolutionary computing techniques have been successfully applied to automate the process of test data generation but no existing techniques exploit variable interdependencies in the process of test data generation, even though several studies from the software testing literature suggest that the variables examined in the branching conditions of real life programs are often interdependent on each other, for example, if (x == y), etc. We propose the Ariadne system which uses Grammatical Evolution (GE) and a simple Attribute Grammar to exploit the variable interdependencies in the process of test data generation. Our results show that Ariadne dramatically improves both effectiveness and efficiency when compared with existing techniques based upon well-established criteria, attaining coverage (the standard software testing success metric for these sorts of problems) of 100% on all benchmarks with far fewer program evaluations (often between a third and a tenth of other systems).
引用
收藏
页码:3 / 18
页数:16
相关论文
共 50 条
  • [1] PreDive: Preserving Diversity in Test Cases for Evolving Digital Circuits using Grammatical Evolution
    Gupt, Krishn Kumar
    Kshirsagar, Meghana
    Rosenbauer, Lukas
    Sullivan, Joseph P.
    Dias, Douglas Mota
    Ryan, Conor
    PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION, GECCO 2022, 2022, : 719 - 722
  • [2] Evolving Efficient Limit Order Strategy using Grammatical Evolution
    Cui, Wei
    Brabazon, Anthony
    O'Neill, Michael
    2010 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2010,
  • [3] Evolving market index trading rules using Grammatical evolution
    O'Neill, M
    Brabazon, A
    Ryan, C
    Collins, JJ
    APPLICATIONS OF EVOLUTIONARY COMPUTING, PROCEEDINGS, 2001, 2037 : 343 - 352
  • [4] Evolving Dynamic Trade Execution Strategies Using Grammatical Evolution
    Cui, Wei
    Brabazon, Anthony
    O'Neill, Michael
    APPLICATIONS OF EVOLUTIONARY COMPUTATION, PT II, PROCEEDINGS, 2010, 6025 : 192 - 201
  • [5] Evolving a Ms. PacMan Controller Using Grammatical Evolution
    Galvan-Lopez, Edgar
    Swafford, John Mark
    O'Neill, Michael
    Brabazon, Anthony
    APPLICATIONS OF EVOLUTIONARY COMPUTATION, PT I, PROCEEDINGS, 2010, 6024 : 161 - 170
  • [6] Evolving a Logo Design using Lindenmayer Systems, Postscript & Grammatical Evolution
    O'Neill, Michael
    Brabazon, Anthony
    2008 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-8, 2008, : 3788 - 3794
  • [7] Evolving Behaviour Trees for the Mario AI Competition Using Grammatical Evolution
    Perez, Diego
    Nicolau, Miguel
    O'Neil, Michael
    Brabazon, Anthony
    APPLICATIONS OF EVOLUTIONARY COMPUTATION, PT I, 2011, 6624 : 123 - +
  • [8] Scalability analysis of Grammatical Evolution Based Test Data Generation
    Anjum, Muhammad Sheraz
    Ryan, Conor
    GECCO'20: PROCEEDINGS OF THE 2020 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2020, : 1213 - 1221
  • [9] Evolving an ecology of mathematical expressions with grammatical evolution
    Alfonseca, Manuel
    Soler Gil, Francisco Jose
    BIOSYSTEMS, 2013, 111 (02) : 111 - 119
  • [10] GEEK: Grammatical Evolution for automatically Evolving Kernel functions
    Sousa, Arua de M.
    Lorena, Ana C.
    Basgalupp, Marcio P.
    2017 16TH IEEE INTERNATIONAL CONFERENCE ON TRUST, SECURITY AND PRIVACY IN COMPUTING AND COMMUNICATIONS / 11TH IEEE INTERNATIONAL CONFERENCE ON BIG DATA SCIENCE AND ENGINEERING / 14TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, 2017, : 941 - 948