Skip to main navigation Skip to search Skip to main content

On the Usefulness of Crossover in Search-Based Test Case Generation: An Industrial Report

  • Changze Huang
  • , Hailian Zhou
  • , Hongbing Zhao
  • , Wenting Cai
  • , Zhi Quan Zhou
  • , Mingyue Jiang*
  • *Corresponding author for this work

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

Abstract

The crossover operation is an important component of genetic algorithms for test case generation. The usefulness of crossover, however, is not really clear, especially for industrial settings. This research applies EvoSuite, a well-known searchbased test case generator, to both open-source and industrial Java programs, and investigates the impact of the use of crossover on the code coverage achieved by the generated test cases. Our empirical study shows that the usefulness of the crossover operation varies for open-source and industrial code, and that the crossover operation may not necessarily be good, especially for some industrial programs. We further analyze (un)favorable conditions/code features for the use of crossover operations, providing hints for effective test case generation.

Original languageEnglish
Title of host publicationProceedings - 2022 29th Asia-Pacific Software Engineering Conference, APSEC 2022
PublisherIEEE Computer Society
Pages417-421
Number of pages5
ISBN (Electronic)9781665455374
DOIs
Publication statusPublished - 2022
Externally publishedYes
Event29th Asia-Pacific Software Engineering Conference, APSEC 2022 - Virtual, Online, Japan
Duration: 6 Dec 20229 Dec 2022

Publication series

NameProceedings - Asia-Pacific Software Engineering Conference, APSEC
Volume2022-December
ISSN (Print)1530-1362

Conference

Conference29th Asia-Pacific Software Engineering Conference, APSEC 2022
Country/TerritoryJapan
CityVirtual, Online
Period6/12/229/12/22

Free Keywords

  • Automated Unit Test Generation
  • Genetic Algorithm
  • Search-Based Testing

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'On the Usefulness of Crossover in Search-Based Test Case Generation: An Industrial Report'. Together they form a unique fingerprint.

Cite this