Test Driven Development - an introduction

Rashi Karanpuria
3 min readMay 29, 2017

If you are looking for an introduction to testing, I am sorry this article will do you no good. If you know development in this order:

write application logic -> write a few tests

then this article is for you.

Test driven development (TDD) although has the same basic steps but not in the same order. In TDD developer has to write the tests first before writing the logic. This might seem silly, I can already hear you saying how can I test a method I haven’t written yet. But that is the core idea behind Test…

--

--