I can't be the only one hooked on unit testing?

@mr_mlk (364)
August 28, 2008 8:14am CST
Or can I? Maybe it is a bit too specialised for this forum? In an attempt to kick off this forum lets start talking books. Nice big and expensive books. Which do you recommend to people interested in unit testing, but don't know where to start? I've read Pragmatic Unit Testing, JUnit in Action and Test-Driven Development: A Practical Guide. While Pragmatic Unit Testing was fairly good at going over the concepts I was left overall unsure how to put that into practise. JUnit in Action I think would have been a little too overwhelming if read without some basic concepts first, and TDD: A Practical Guide is a slightly different subject. So what would you recommend as someone's first unit testing book?
1 person likes this
1 response
• United States
28 Aug 08
May I ask what unit testing is?
@mr_mlk (364)
29 Aug 08
Unit testing is an automated testing technique for software development. The basic concept is you cut a program down to the smallest part (that makes sense) and then test this small part, faking any dependences required. The advantage to doing this is you know exactly which part of your application is broken. Done well and you end up with a set of regression tests allowing you to modify the application with greater confidence as many issues are spotted early in the development. Done very well (i.e. before development) they also aid in the design of your application (TDD). For more information: http://en.wikipedia.org/wiki/Unit_testing