Do Vibe-Coded Projects Contain Tests? An Empirical Study
Abstract
With the rapid adoption of generative AI, a new practice known as vibe coding has emerged: developers prompt AI tools to write code by describing the desired outcome, often without fully understanding the generated code. This practice may pose risks, amplified by limited code review and, potentially, by the developer's lack of programming knowledge. Although software testing is a fundamental safeguard, it is unclear whether vibe-coded projects include tests at all. We present the first empirical study of tests in vibe-coded projects, analyzing 335 GitHub repositories self-declared as "vibe-coded". We find that about half of the vibe-coded projects (52.8%) include tests, compared with around 90% in popular GitHub projects. When present, tests are introduced early, often in the first commit. Also, test adoption is increasing, rising from 42.9% in 2025 to 57.4% in 2026 and reaching 72.2% in late 2026. We conclude by discussing implications for research and practice.
Create a lesson
Related papers
Can Vibe Coding Produce Accessible Websites: An Empirical Study on LLM Coding Agents and Skills
Shared title terminologycs.SESyed Fatiul Huq, Md. Asif Haider, Abu Jafar Saifullah et al.
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Shared title terminologycs.SEPriyatham Kattakinda, Wenxiao Wang, Soheil Feizi
From Suspicious Signals to Crashes: Guiding Bug-Driven GUI Testing via Code-Inspired Tracing
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
From Code Changes to Slowdowns: An Empirical Study of Performance Regressions in Open-Source Database Kernels
Shared title terminologycs.SEXueli Sun, Shuangxiang Kan
How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
Shared title terminologycs.SEAakash Goel, Benjamin Steenhoek, Yu Hu
Generating Property-Based Regression Tests from Source Code Semantics
Shared title terminologycs.SEClemens Bauer, Johann Glock, Martin Pinzger