Be the first to like this
Test-driven development (TDD) is not an easy discipline to establish. However, it provides considerable return on investment for the effort. Rob Myers describes the costs of TDD (the introduction of test-maintenance overhead) and its benefits (greatly improved quality, productivity, and throughput of real value)—but only when the TDD practices are given time to ripen. Rob shares a simple three-step process for establishing the personal and professional discipline required to successfully implement TDD and takes you through a simple yet realistic demo to reveal three core TDD techniques—Triangulation, Fake It, and Obvious Implementation. Rob uses this demo to show how new objects can reveal themselves to developers via "obvious necessity" thus destroying the myth that all TDD design must arise from either specification or refactoring. In this demo, Rob uses Java and JUnit but the principles and techniques described apply to any object-oriented programming efforts in any programming language.