Home > Design Patterns, Unit Testing > xUnit patterns.

xUnit patterns.

Well, as if the GoF patterns were not enough to improve us at our craft (coding), here come, the xUnit patterns. It’s been more than a year since I found this book, and I am yet to read it, but I came across this interesting article on ObjectMother and TestDataBuilder from Ian Cooper.

This clarifies the use of each, for our unit testing and has two must-read links – one on ObjectMother by Martin Fowler and one on TestDataBuilders by Nat Pryce. The second one has other links too which are also worth reading.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: