Metraipolis › archive › dc_ccbd897c2b8c
NEUROTESTGEN: Neuro-Symbolic Guided Test Generation with Large Language Models — arXiv:2609.30178
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.30178
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T06:01:55.460Z
- SHA-256 of the archived text
dd33a968522376cea211fe189d6149550078548fdc00b32185fbeb0a6aff9f99- Stable URL of this page
https://metraipolis.com/documento/dc_ccbd897c2b8c
How to cite
NEUROTESTGEN: Neuro-Symbolic Guided Test Generation with Large Language Models — arXiv:2609.30178 — arXiv (en), https://arxiv.org/abs/2609.30178 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ccbd897c2b8c (Metraipolis archive dc_ccbd897c2b8c, sha256 dd33a968522376cea211fe189d6149550078548fdc00b32185fbeb0a6aff9f99)
BibTeX
@misc{dcccbd897c2b8c,
title = {NEUROTESTGEN: Neuro-Symbolic Guided Test Generation with Large Language Models — arXiv:2609.30178},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.30178},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ccbd897c2b8c; sha256 dd33a968522376cea211fe189d6149550078548fdc00b32185fbeb0a6aff9f99},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30178. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Ensuring high structural coverage remains a fundamental challenge in automated test generation, particularly for complex software systems where reaching specific lines or branches requires satisfying intricate control- and data-flow constraints. Large Language Models (LLMs) have recently demonstrated strong capabilities in producing human-like test cases; however, they often struggle to generate inputs that satisfy precise path conditions. Conversely, symbolic execution can systematically derive such constraints, but it often fails to construct realistic, executable test cases and is constrained by scalability limitations. In this paper, we introduce NEUROTESTGEN, a hybrid approach that integrates symbolic execution with LLM-driven test synthesis to generate test cases targeting on-demand code coverage. Given a set of target statements within a method, NEUROTESTGEN first employs a symbolic analysis engine (i.e., the Z3 SMT solver) to extract path-specific constraints and construct a symbolic guidance specification for the desired coverage goal. This specification is then used to guide an LLM in synthesizing concrete test cases that are both structurally valid and semantically meaningful. For paths involving complex object-related constraints that are difficult for SMT solvers to handle, NEUROTESTGEN leverages LLMs to infer plausible constraints. Furthermore, NEUROTESTGEN incorporates an iterative feedback loop that validates LLM-generated tests and provides corrective guidance until the target line or branch is covered or a limit is reached. Our empirical evaluation on a widely used benchmark demonstrates that NEUROTESTGEN significantly outperforms the state-of-the-art approach across multiple LLMs, including Llama 3.3 70B1, GPT-4o Mini, Claude 3.5 Haiku3, and Claude Sonnet 4.6. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-25 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.30178 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T05:25:51.981Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).