DEV Community

Discussion on: Me: "I tested and it works, why do I have to write tests?"

Collapse
 
carleeto profile image
carleeto

When you write tests, it's not about you really. It's your way of communicating to some other developer down the road what the intended behaviour is. They're like really good comments, but executable.

Collapse
 
briwa profile image
briwa • Edited

(Tests) are like really good comments, but executable

First time I've heard about this, and I liked the idea! 👍🏻