« Moving Day | Main | It's not just about the tool...! »

June 30, 2007

xUnit Test Patterns

The xUnit architecture has become the deFacto standard for unit testing tools. There is a great quote from Martin Fowler in which he states:

Never in the field of software development have so many owed so much to so few lines of code.

It's true you could build the core of xUnit in the language of your choice in a short period of time. In fact, since I wrote NUnit 2.0 that is the way that I learn a new programming language.

Over the past few years the xUnit tools and unit testing itself have become more widely used when developing software. I believe this is a very positive step for software development. What has been missing is a collection of what it takes to write really good test code. The book "xUnit Test Patterns" by Gerard Meszaros captures this skilled knowledge and documents it in the form of patterns. In addition there are also sections on how to identify bad smells which can make your test code difficult to maintain. You can get a detailed introduction to the books content at Gerard's web-site here.

I am hoping that this book does for xUnit and test code in general what the Design Patterns book has done for obect-oriented design.

TrackBack

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

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

» xUnit Test Patterns and Better Software Development for Agile Teams from James Newkirk's Blog
These two books were recently published by Addison-Wesley. For a blog post on each book see the following [Read More]

» xUnit Test Patterns and Better Software Development for Agile Teams from Noticias externas
These two books were recently published by Addison-Wesley. For a blog post on each book see the following [Read More]

» ohio troops to teachers from ohio troops to teachers
ohio troops to teachers [Read More]

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

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