The satisfaction of TDD

TDD is a method of software development where you first write out the automated tests of your application before writing out the feature. This allows you to take a slower approach in developing your application and not over engineer your solution.

When you write out your application following the TDD principles, you see your tests fail in the beginning giving you a non-sexy red FAIL error message in the terminal.

As your application grows however and you write out your features, the tests slowly get passed and you end up with beautiful green PASS message and developers call this method: Red - Green - Refactor.

Using this method leads to a more robust application in production and one that has less bugs.

--

--

Daniel Bergmann
0 Followers

Daniel Bergmann is a developer located in Reykjavik, Iceland.