LLM-Powered Test Case Generation for Detecting Bugs in Plausible Programs
원문 초록
Detecting tricky bugs in plausible programs, those that pass existing test suites yet still contain bugs, remains a significant challenge in software testing. To address this problem, we propose TrickCatcher, an LLM-powered approach to generating test cases for uncovering bugs in plausible programs. TrickCatcher operates in three stages: First, it uses an LLM to generate program variants based on the program under test (PUT) and its specification. Second, it employs an LLM to construct an input generator from the specification for producing test inputs. Finally, these inputs are executed on both the PUT and its program variants to detect inconsistencies in their outputs. We evaluate TrickCatcher on two datasets, TrickyBugs and EvalPlus, which include 366 human-written and 151 AI-generated plausible programs with tricky bugs. TrickCatcher achieves recall, precision, and F1 scores that are 1.80x, 2.65x, and 1.66x those of the state-of-the-art baselines, respectively. Code and data used are available at https://github.com/RinCloud/TrickCatcher.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Navigating the growing field of research on AI for software testing -- the taxonomy for AI-augmented software testing and an ontology-driven literature survey
Test It Before You Trust It: Applying Software Testing for Trustworthy In-context Learning
Towards Trustworthy GUI Agents: A Survey
Assessing Data Augmentation-Induced Bias in Training and Testing of Machine Learning Models
Can Search-Based Testing with Pareto Optimization Effectively Cover Failure-Revealing Test Inputs?
Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Tests
토론
이 논문과 연결된 포럼 글이 아직 없습니다.