Ariadne: Evolving Test Data Using Grammatical Evolution

Muhammad Sheraz Anjum, Conor Ryan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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).

Original languageEnglish
Title of host publicationGenetic Programming - 22nd European Conference, EuroGP 2019, Held as Part of EvoStar 2019, Proceedings
EditorsPablo García-Sánchez, Nuno Lourenço, Hendrik Richter, Lukas Sekanina, Ting Hu
PublisherSpringer Verlag
Pages3-18
Number of pages16
ISBN (Print)9783030166694
DOIs
Publication statusPublished - 2019
Event22nd European Conference on Genetic Programming, EuroGP 2019, held as part of EvoStar 2019 - Leipzig, Germany
Duration: 24 Apr 201926 Apr 2019

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11451 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd European Conference on Genetic Programming, EuroGP 2019, held as part of EvoStar 2019
Country/TerritoryGermany
CityLeipzig
Period24/04/1926/04/19

Keywords

  • Automatic test case generation
  • Code coverage
  • Evolutionary testing
  • Grammatical Evolution
  • Variable interdependencies

Fingerprint

Dive into the research topics of 'Ariadne: Evolving Test Data Using Grammatical Evolution'. Together they form a unique fingerprint.

Cite this