question about learning TDD
what are the best books to learn abo开发者_如何转开发ut junit, jmock and testing generally? Currently I'm reading pragmatic unit testing in Java, I'm on chapter 6 its good but it gets complicated.. is there a book for a bottom up? from your experience which helped you get the testing concept
For me, the best thing that has helped me learn unit testing is reading the many blogs out there.
After that there are books such as Test Driven Development by Example by Kent Beck, xUnit Test Patterns, The Art of Unit Testing etc.
Some books are for java, others for C#...I don't really think it matters which language you read about TDD in as it all helps in one way or another.
Test Driven Developemnt by Kent Beck is the original. Read it's great. But the best way to learn is to practice. Check out different Katas (exercises) at the dojo site.
Growing Object-Oriented Software Guided by Tests is a great title. Contains lots of examples, which is always better than a purely academic talk.
If you have any questions about real life problems or examples from any of your books, just ask a question here.
精彩评论