The hidden costs and benefits of TDD
summary
A controlled study uses an instrumented IDE plugin and a real legacy system with external APIs to record how 60+ professional developers actually practice TDD, and a small lab experiment uses a pictorial mannequin to measure emotions. Results claim the real benefit is short, consistent activity granularity (the ideal 5–10 minute cycles are rare) rather than strict test‑first ritual, and reveal a surprising emotional cost: TDD practitioners report being less happy despite quality gains.
AI-written summary · about








