« Good Code or 'Else' | Main | Beautiful Code: Released! »

June 18, 2007

xUnit Test Patterns

Meszaros xUnit Test Patterns has been released.  Gerard Meszaros has been working on this book for a while, and it shows.  It's 883 pages of patterns related to unit testing.  He has patterns for everything from setup to dependency injection.  It's a complete reference.

His definitions for mock, stub, and fake differ a bit from the ones that I used in Working Effectively with Legacy Code, but I'm glad that we now have a good set of names that we can rally around.  Different authors have been using different terminology for test doubles for about five or six years and it had to be settled.   

XUnit Patterns is a great all around reference.  Recommended.



TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341d798c53ef00e008c793e08834

Listed below are links to weblogs that reference xUnit Test Patterns:

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment