SETBVE: Quality-Diversity Driven Exploration of Software Boundary Behaviors
Journal article, 2026

Software exhibits distinct behaviors based on input characteristics, and failures often occur at the boundaries between input domains. Traditional Boundary Value Analysis (BVA) relies on manual heuristics, while automated Boundary Value Exploration (BVE) methods typically optimize a single quality metric, risking a narrow and incomplete survey of boundary behaviors. We introduce SETBVE, a customizable, modular framework for automated black-box BVE that leverages Quality-Diversity (QD) optimization to systematically uncover and refine a broader spectrum of boundaries. SETBVE maintains an archive of boundary pairs organized by input- and output-based behavioral descriptors. It steers exploration toward underrepresented regions while preserving high-quality boundary pairs and applies local search to refine candidate boundaries. In experiments with 30 integer‐based functions, SETBVE outperforms the baseline in diversity, boosting archive coverage by up to 90 percentage points. A qualitative analysis reveals that SETBVE identifies boundary candidates the baseline misses. While the baseline method typically plateaus in both diversity and quality after 30 seconds, SETBVE continues to improve in 600-second runs. Even the simplest configurations of the SETBVE modules perform well in identifying diverse boundary behaviors. Our findings indicate that balancing quality with behavioral diversity can help identify more software edge-case behaviors than quality-focused approaches.

Software testing

Boundary Value Analysis

Quality-Diversity optimization

program derivative

Author

Sabina Akbarova

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Felix Dobslaw

Mid Sweden University

Chalmers, Computer Science and Engineering (Chalmers), Software Engineering (Chalmers)

Francisco Gomes

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Robert Feldt

Chalmers, Computer Science and Engineering (Chalmers), Software Engineering (Chalmers)

ACM Transactions on Software Engineering and Methodology

1049-331X (ISSN) 15577392 (eISSN)

Subject Categories (SSIF 2025)

Computer Sciences

DOI

10.1145/3797890

Related datasets

Boundary Candidates Generated by the SETBVE Framework for Integer-Input SUTs [dataset]

DOI: https://doi.org/10.5281/zenodo.15364606

More information

Created

5/13/2026