SCOUT: A Scenario-Guided Unit Test Generation Tool for Compact Open-Source LLMs
Open Access
- 3 October 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 209-214
Abstract
Large language models (LLMs) have shown promising performance in automated unit test generation, but existing approaches often rely on large proprietary or reasoning-oriented models, limiting their practicality for users with limited computational resources. We present SCOUT, a scenario-guided unit test generation tool designed for compact open-source LLMs. Rather than requiring LLMs to reason over raw source code, SCOUT extracts program information through static analysis and progressively provides concise, task-specific contexts for specialized reasoning tasks, including scenario construction and unit test generation. The tool further validates and refines generated tests using compilation, execution, and coverage feedback. Built on an extensible multi-agent architecture, SCOUT provides a fully automated workflow that enables practical unit test generation with locally deployed open-source LLMs on commodity hardware.This publication has 5 references indexed in Scilit:
- Advancing Code Coverage: Incorporating Program Analysis with Large Language ModelsACM Transactions on Software Engineering and Methodology, 2026
- LlamaRestTest: Effective REST API Testing with Small Language ModelsProceedings of the ACM on Software Engineering, 2025
- HITS: High-coverage LLM-based Unit Test Generation via Method Slicing2024
- ChatUniTest: A Framework for LLM-Based Test Generation2024
- ChatGPT vs SBST: A Comparative Assessment of Unit Test Suite GenerationIEEE Transactions on Software Engineering, 2024