We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/FANDANGO: Evolving Language-Based Testing
PeriodicalsComputer Science & Information Technology

FANDANGO: Evolving Language-Based Testing

Checking your access to this record.

Abstract & Overview

Language-based fuzzers leverage formal input specifications ( languages ) to generate arbitrarily large and diverse sets of valid inputs for a program under test. Modern language-based test generators combine grammars and constraints to satisfy syntactic and semantic input constraints. isl a, the leading input generator in that space, uses symbolic constraint solving to solve input constraints. Using solvers places isl a among the most precise fuzzers but also makes it slow. In this paper, we explore search-based testing as an alternative to symbolic constraint solving. We employ a genetic algorithm that iteratively generates candidate inputs from an input specification, evaluates them against defined constraints, evolving a population of inputs through syntactically valid mutations and retaining those with superior fitness until the semantic input constraints are met. This evolutionary procedure, analogous to natural genetic evolution, leads to progressively improved inputs that cover both semantics and syntax. This change boosts the efficiency of language-based testing: In our experiments, compared to isl a, our search-based fandango prototype is faster by one to three orders of magnitude without sacrificing precision. The search-based approach no longer restricts constraints to constraint solvers’ (miniature) languages. In fandango , constraints can use the whole python language and library . This expressiveness gives testers unprecedented flexibility in shaping test inputs. It allows them to state arbitrary goals for test generation : “Please produce 1,000 valid test inputs where the ⟨ voltage ⟩ field follows a Gaussian distribution but never exceeds 20 mV.”

Cite this record

José Antonio Zamudio Amaya, Marius Smytzek, Andreas Zeller (2025). FANDANGO: Evolving Language-Based Testing. Proceedings of the ACM on software engineering., 2(ISSTA), 894–916. https://doi.org/10.1145/3728915

Copy in another style

Amaya, J. A. Z., Smytzek, M., & Zeller, A. (2025). FANDANGO: Evolving Language-Based Testing. Proceedings of the ACM on software engineering., 2(ISSTA), 894–916. https://doi.org/10.1145/3728915
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.