Demo: a second Claude Code session writes tests from the spec alone
12/05/2026 — 12/05, 23:16·1 sources (all)·1 reports (all)
Key takeaways
- A small demo runs 24 Claude Code sessions against 4 short specs, using a fresh session that reads only the spec — never the code — to write…
- in deliberately bugged versions, the coding side's own tests missed one of the bugs in all three rounds.
Background & analysis
On December 5, 2026, a DEV Community post described a small experiment built around 24 Claude Code sessions and 4 short specs. The author's approach was to have a fresh session write the tests while seeing only the spec and never the code. The post explains the reasoning: when a single AI session writes both the code and its tests, it reads the spec once, and if it misreads a rule, the tests can repeat that same mistake. In the demo, Opus 5.5 got the code right every time, so the second session had no real bug to find. In a version where bugs were deliberately planted, the coding side's own tests missed one of them across three consecutive rounds. The post also notes that the idea has already become a product: on November 20, TestSprite released version 4.0, which its press release calls an independent testing agent that checks software separately from the code.
AI-generated from 1 reports · updated 33 minutes ago
- Heat index
- 98
- All sources
- 1
- All reports
- 1
- First seen
- 48 minutes ago
Reports on this story headlines open the original
The author ran 24 Claude Code sessions across four small specs to try a do-it-yourself version of independent test writing: a fresh session that sees only the spec, never the code. Opus 5.5 produced correct code every time, so there was no real bug to find; when bugs were planted on purpose, the builder's own tests missed one of them in all three runs.
DEV Community · AIAI score 60
Other stories people are talking about
- Heat index 49How to Get Notified When Claude Code Waits for Input1 sources
- Heat index 45Tips to keep Claude Code local config and session history after account ban1 sources
- Heat index 40Using Codex and Claude Code to review each other's code1 sources
- Heat index 75When Claude Code plugins are worth building: a team's take1 sources
- Heat index 61Developer open-sources five Claude Code Skills for product launch workflow1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

