Always Be Testing: Using Mockito in MX
Richard L. Apodaca · 2009
Test-driven development (TDD) is an iterative technique for software development in which a failing test is written before a single line of production code is written. Like any technique, it has its limitations and isn't applicable in every situation. Nevertheless, TDD is a powerful method to create more robust low-level code and more effective high-level designs. The early days of TDD were not much fun.