Thursday, August 16, 2007

"Mocks Aren't Stubs" Revisited

Reading the book "xUnit Test Patterns: Refactoring Test Code" made me take another look at Martin Fowler's 2004 article "Mocks Aren't Stubs". I'm glad I did because the article has been significantly updated (it's practically a rewrite and nearly twice as long) to reflect new thinking about mock objects. The first thing I noticed was the new terminology that is consistent with the "xUnit Test Patterns" book. The second thing I noticed is the new ideas about the different styles of using mock objects. The updated article is definitely worth a read or a re-read.

It looks like we are beginning to develop a shared language around unit testing, like what happened with refactoring and design patterns. It's interesting to watch this kind of thing as it matures and we learn more. It reminds we of how much object oriented development has changed over the last twenty years.

5 comments:

Joshua Smith said...

Many thanks for writing about useful survey. It is required to know that android apps development could help in your industry by installing custom development software applications. Also you may turn your attention on outsource asp.Net development.

Joshua Smith said...

That is nice info. Let me mention about cheap home insurance with discounts home protection providers. Compare free online rates on homeowners insurance.

Joshua Smith said...

Thanks for sharing with us this great posts. You have nice possibility to check online affiliate programs. The most common gambling programs such as affiliate club and great poker rooms such as red bet affiliates.

Joshua Smith said...

I'm glad to read this great review. Let me share with instant insurance rates that is supported by best insurers. You may save on cheap auto insurance quotes which allow customers to get cheap affordable policy.

John Dudley said...

Acetech have many years of experience in custom software development. Find out more about custom software development at http://www.acetechindia.com