skip to main content
10.1145/3520304.3534042acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
research-article
Open Access

The case for grammatical evolution in test generation

Published:19 July 2022Publication History

ABSTRACT

Generating tests for software is an important, but difficult, task. Search-based test generation is promising, as it reduces the time required from human experts, but suffers from many problems and limitations. Namely, the inability to fully incorporate a tester's domain knowledge into the search, its difficulty in creating very complex objects, and the problems associated with variable length tests. This paper illustrates how Grammatical Evolution could address and provide a possible solution to each of these concerns.

References

  1. M Moein Almasi, Hadi Hemmati, Gordon Fraser, Andrea Arcuri, and Janis Benefelds. 2017. An industrial evaluation of unit test generation: Finding real faults in a financial application. In ICSE-SEIP. IEEE.Google ScholarGoogle Scholar
  2. Muhammad Sheraz Anjum and Conor Ryan. 2021. Seeding Grammars in Grammatical Evolution to Improve Search-Based Software Testing. SN Computer Science 2, 4 (2021).Google ScholarGoogle Scholar
  3. Adina Deiner, Christoph Frädrich, Gordon Fraser, Sophia Geserer, and Niklas Zantner. 2020. Search-Based Testing for Scratch Programs. In SSBSE. Springer.Google ScholarGoogle Scholar
  4. Gordon Fraser and Andrea Arcuri. 2011. Evosuite: automatic test suite generation for object-oriented software. In ESEC/FSE.Google ScholarGoogle Scholar
  5. René Just, Darioush Jalali, and Michael D Ernst. 2014. Defects4J: A database of existing faults to enable controlled testing studies for Java programs. In ISSTA.Google ScholarGoogle Scholar
  6. Conor Ryan, John James Collins, and Michael O Neill. 1998. Grammatical Evolution: Evolving programs for an arbitrary language. In EuroGP. Springer.Google ScholarGoogle Scholar
  7. Sina Shamshiri, René Just, José Miguel Rojas, Gordon Fraser, Phil McMinn, and Andrea Arcuri. 2015. Do automatically generated unit tests find real faults? an empirical study of effectiveness and challenges (t). In ASE. IEEE, 201--211.Google ScholarGoogle Scholar
  8. Sebastian Vogl, Sebastian Schweikl, Gordon Fraser, Andrea Arcuri, Jose Campos, and Annibale Panichella. 2021. EVOSUITE at the SBST 2021 Tool Competition. In SBST. IEEE.Google ScholarGoogle Scholar

Index Terms

  1. The case for grammatical evolution in test generation

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader