The hidden benefits of TDD

Svenardo
2 min readNov 18, 2020
Test driven development doesn’t have to start on the computer screen (Photo by Jason Coudriet on Unsplash)

Test driven development, or TDD, is a development strategy where you write tests before you write code. Adopting this strategy leads to fewer bugs and a greater confidence in your code. Extending and refactoring your code will be easier and less error prone.

The most common way of writing TDD is by writing failing unit tests while you code, supplying with integration tests, end to end tests and other tests as needed.

--

--

Svenardo
0 Followers

Norwegian programmer who eat and breathe code