DEV Community


Discussion on: Tests Are for the Future

danielpdev profile image

Everything you said is correct.

A growing codebase with no tests may also give the illusion that you're doing great by implementing you features faster. After a while you'll slow down a lot because now you have to fix the bugs(that you know about) and also implement that new feature that you are excited about.

Let's not talk about new employees that were just hired and now they have to deal with all bugs.

So yeah, writing tests is essential. TDD is ideal.