On the suitability of checked coverage and genetic parameter tuning in test suite reduction

Roxane Koitz-Hristov*, Thomas Sterner, Lukas Stracke, Franz Wotawa

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

As software projects evolve and grow in size and complexity, so do their test suites. Test suite reduction (TSR) aims at reducing the size of a test suite by removing redundant and obsolete test cases based on a coverage metric while preserving its fault detection capabilities. The contributions of this paper are twofold: (1) We examine a lesser-known coverage criterion, that is, checked coverage. Checked coverage not only investigates if a part of the code was executed but also if it was checked by a test oracle. In an empirical evaluation, we performed TSR based on different reduction algorithms, coverage metrics, and open-source Java projects with our own TSR tool to determine the most effective and efficient combination of metric and method. (2) Given the results of the first evaluation, we further investigate the potential of parameter optimization in regard to a genetic reduction algorithm. In particular, we focus on finding a general setting for the parameters crossover rate and mutation rate such that test suites can be reduced in a reasonable time while maintaining a high fault detection power.

Original languageEnglish
Article numbere2656
Number of pages23
JournalJournal of Software: Evolution and Process
Early online date11 Feb 2024
DOIs
Publication statusE-pub ahead of print - 11 Feb 2024

Keywords

  • experimental evaluation
  • genetic algorithm
  • program testing
  • software testing
  • test suite reduction
  • test suite size

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'On the suitability of checked coverage and genetic parameter tuning in test suite reduction'. Together they form a unique fingerprint.

Cite this