Appendix C. Reading List

 

Java Testing

Dave Astels, Test-Driven Development: A Practical Guide (Prentice Hall PTR, 2003). This is the first TDD-related book we have seen that uses a Swing application as its central example, rather than yet another web application. This is an excellent tour through all the basics of TDD, some JUnit-related tools, Mock Objects, and a fully developed example, test by test.

Johannes Link, Unit Tests with Java: How the Tests Drive the Code (Morgan Kauf-mann, 2003). This is another fine look at test-driven development using JUnit.

Vincent Massol and Ted Husted, JUnit in Action (Manning, 2004). This is a tutorial approach to JUnit with advice on testing a wide range of Java applications and components.

Andrew Hunt and Dave Thomas, Pragmatic Unit Testing in Java with JUnit (Pragmatic Programmers, 2003). From the authors of The Pragmatic Programmer (see the General Programming section). This is a no-nonsense look at unit testing using JUnit and Java, including a thorough description of testing with Mock Objects. It is an excellent companion to this book. (There is also a C#/NUnit version of this book.)

Richard Dallaway, “Unit Testing Database Code” (www.dallaway.com/acad/dbunit.html). When people ask us how to test a database with JUnit, we point them first to this article, as it covers the basics and the philosophy very well. Our chapter on testing and JDBC is based in part on the ideas in this article.

General Testing

Java Programming

Enterprise Software

Agile Software Development and Extreme Programming

General Programming