DEV Community

Discussion on: What was your TDD aha moment?

Collapse
 
quii profile image
Chris James

when i realized most of "professional projects"

Citation needed

Your code matters, not tests.

This is a very short-sighted point of view

Collapse
 
revskill10 profile image
Truong Hoang Dung

If you're testing a broken abstraction, your test doesn't work.
Tests could help you refine your abstraction, but test doesn't create the abstraction itself.
That's why focus on good code first, good tests come out later and naturally.