REVIEW 3 cited by
Test Wars: A Comparative Study of SBST, Symbolic Execution, and LLM-Based Approaches to Unit Test Generation
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Signed reviews
read the original abstract
Generating tests automatically is a key and ongoing area of focus in software engineering research. The emergence of Large Language Models (LLMs) has opened up new opportunities, given their ability to perform a wide spectrum of tasks. However, the effectiveness of LLM-based approaches compared to traditional techniques such as search-based software testing (SBST) and symbolic execution remains uncertain. In this paper, we perform an extensive study of automatic test generation approaches based on three tools: EvoSuite for SBST, Kex for symbolic execution, and TestSpark for LLM-based test generation. We evaluate tools performance on the GitBug Java dataset and compare them using various execution-based and feature-based metrics. Our results show that while LLM-based test generation is promising, it falls behind traditional methods in terms of coverage. However, it significantly outperforms them in mutation scores, suggesting that LLMs provide a deeper semantic understanding of code. LLM-based approach also performed worse than SBST and symbolic execution-based approaches w.r.t. fault detection capabilities. Additionally, our feature-based analysis shows that all tools are primarily affected by the complexity and internal dependencies of the class under test (CUT), with LLM-based approaches being especially sensitive to the CUT size.
Forward citations
Cited by 3 Pith papers
-
Evaluating and Mitigating the Misguidance Effect of Buggy Code in LLM-Generated Unit Tests
Buggy code in prompts steers LLMs to write tests that validate the bug, and generating tests from an LLM-written spec docstring instead of the code reduces such misguided tests and increases bug-finding ones.
-
Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness? (Replicability Study)
For LLM-generated Java tests, coverage and mutation predict real-bug detection mainly when comparing models on bug-free code, not when the code under test is buggy, and suite size is not a major confounder.
-
Large Language Models for Unit Testing: A Systematic Literature Review
The paper presents the first systematic literature review of large language model based unit testing, covering 105 papers up to March 2025.
Discussion (0). Continue with ORCID to comment.