Skip to main content
QUICK REVIEW

[Paper Review] A Snowballing Literature Study on Test Amplification

Benjamin Danglot, Oscar Luis Vera-Pérez|arXiv (Cornell University)|May 30, 2017
Software Engineering ResearchComputer Science7 citations
TL;DR

This paper introduces 'test amplification'—a novel research field that enhances manually written tests using their embedded domain knowledge and oracles to improve software testing outcomes. Through a snowballing literature review, the authors identify four core techniques: generating new test variants, adapting tests to code changes, modifying test execution, and refactoring existing tests—offering a structured foundation for future research and practice in automated test improvement.

ABSTRACT

The adoption of agile development approaches has put an increased emphasis on developer testing, resulting in software projects with strong test suites. These suites include a large number of test cases, in which developers embed knowledge about meaningful input data and expected properties in the form of oracles. This article surveys various works that aim at exploiting this knowledge in order to enhance these manually written tests with respect to an engineering goal (e.g., improve coverage of changes or increase the accuracy of fault localization). While these works rely on various techniques and address various goals, we believe they form an emerging and coherent field of research, which we call `test amplification'. We devised a first set of papers from DBLP, looking for all papers containing `test' and `amplification' in their title. We reviewed the 70 papers in this set and selected the 4 papers that fit our definition of test amplification. We use these 4 papers as the seed for our snowballing study, and systematically followed the citation graph. This study is the first that draws a comprehensive picture of the different engineering goals proposed in the literature for test amplification. In particular, we note that the goal of test amplification goes far beyond maximizing coverage only. We believe that this survey will help researchers and practitioners entering this new field to understand more quickly and more deeply the intuitions, concepts and techniques used for test amplification.

Motivation & Objective

  • To define and establish 'test amplification' as a coherent, emerging research field in software engineering.
  • To systematically survey and categorize existing literature on test amplification using backward and forward snowballing on citation graphs.
  • To identify and classify key techniques and engineering goals in test amplification, such as improving test coverage, fault localization, and execution robustness.
  • To highlight research gaps, including the lack of systematic comparison between test amplification and traditional test generation.
  • To advocate for open science and reproducible research by evaluating the availability of tools and experimental data in the field.

Proposed method

  • Initiated with a seed set of 70 papers from DBLP containing 'test' and 'amplification' in the title, narrowed to 4 core papers fitting the defined scope.
  • Performed backward snowballing by analyzing references of the 4 seed papers, with dual independent review and consensus-based inclusion.
  • Conducted forward snowballing using Google Scholar's 'cited by' feature to identify recent contributions and extend the literature set.
  • Iterated the snowballing process until no new relevant papers were found, ensuring completeness of the literature set.
  • Classified the final set of 47 papers into four categories: adding new test variants, modifying test execution, synthesizing tests for code changes, and refactoring existing tests.
  • Evaluated tools and reproducibility by checking for publicly available code or data via URLs cited in papers (17 valid open-science URLs identified).

Experimental results

Research questions

  • RQ1What are the core engineering goals driving research in test amplification, and how do they extend beyond basic test coverage?
  • RQ2Which techniques are most commonly used in test amplification, and how do they differ in their approach to leveraging existing test knowledge?
  • RQ3How consistent is the terminology in the literature, and what challenges does this pose for systematic literature reviews?
  • RQ4To what extent are test amplification tools and experimental results publicly available for reproducibility and benchmarking?
  • RQ5What are the key open research challenges and opportunities in advancing test amplification as a mature field of study?

Key findings

  • The study identifies 47 papers on test amplification, with a notable peak in 2014, indicating growing research interest.
  • The majority of works (30 out of 47) target Java programs, while C and JavaScript are underrepresented, suggesting a language bias in current research.
  • Search-based heuristics and symbolic execution are the most widely used techniques, each appearing in 12 studies, while concolic execution and execution modification are used in only 5 studies each.
  • Only 17 of the 47 papers provide publicly available tools or data, highlighting a significant gap in open science and reproducibility.
  • The field is still nascent, with no systematic comparison between test amplification and traditional test generation, which the authors identify as a critical research gap.
  • Test amplification techniques span diverse goals: improving coverage, enhancing fault localization, detecting data races, and enabling hybrid concrete-symbolic execution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.