May 10, 2005
TechBookReport on 'Test-Driven Development - J2EE'
TBR writes "Unit-testing is a core practice in most agile software methodologies. Indeed it should be no surprise that Kent Beck, one of the founders of extreme programming (XP), was also one of the authors of the JUnit testing framework (the other being Erich Gamma). However, for many developers the idea of test-driven development (TDD) seems counter-intuitive. Why write a test before you've written the code to be tested? Why code a test that fails when it would appear to be more efficient to build the code and then add the test afterwards. And how exactly does building lots of simple unit tests help drive the design and development of a complete application?"