Interview Questions

Do You Know the Book "JUnit Recipes: Practical Methods for Programmer Testing"?

JUnit Questions and Answers


(Continued from previous question...)

Do You Know the Book "JUnit Recipes: Practical Methods for Programmer Testing"?

You should know this book. It received some good reviews.

Title: JUnit Recipes: Practical Methods for Programmer Testing

Publisher: Manning Publications (July 15, 2004)

Author: J. B. Rainsberger, Scott Stirling

Abstract: Get this book both as an introduction to what JUnit can do for you and also as a reference when you are looking for information on how to solve a particular testing problem. The book covers the basics of using JUnit as well as issues around database and J2EE testing. It is filled with pointers to many frameworks and resources that can simplify your testing experience. This is not just a testing cookbook. J.B. also discusses issues such as how to design for testing (and how that can improve your architecture) as well as what to do when you need to test legacy code. This is an excellent guide to the details of how to use JUnit effectively.

Topics:

Getting started with JUnit
Recipes for:
   Servlets
   JSPs
   EJBs
   Database code
   ...
Difficult-to-test designs, and how to fix them
How testing saves time
Choose a JUnit extension:
   HTMLUnit
   XMLUnit
   ServletUnit
   EasyMock
...

(Continued on next question...)

Other Interview Questions