计算机科学 > 软件工程
[提交于 2026年11月27日]
标题:Do Vibe-Coded Projects Contain Tests? An Empirical Study
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Andre Hora[v1] 2026年11月27日 星期五 23:00:53 UTC (122 KB)