TDD is an iterative development process where each iteration starts by writing a test which forms a part of the specification we are implementing. The short iterations allow for more instant feedback on the code we are writing, and bad design decisions are easier to catch. By writing the tests prior to any production code, good unit test coverage comes with the territory, but that is merely a welc
![Test-Driven JavaScript Development in Practice | Envato Tuts+](https://cdn-ak-scissors.b.st-hatena.com/image/square/4341dc8c5c2f808d366a52e1d28c28fe2e02825c/height=288;version=1;width=512/https%3A%2F%2Fcdn.tutsplus.com%2Fnet%2Fuploads%2Flegacy%2F846_tdd%2Ftest-driven-js-tut.jpg)