Towards a Testing Vocabulary

| Comments

I know I’m probably late to the game, but I just found a great breakdown of kinds of test doubles.

There are a lot of terms floating around when it comes to automated testing:

  • Mock Objects
  • Fakes
  • Dummies
  • etc
This isn’t a big deal when you first write tests. As your testing becomes more advanced, things get complicated. Eventually confusion sets in when someone goes to use your mock object and you have to tell them it only works for a specific test, or vice versa.

Martin Fowler mentions testing vocabulary in one of his essays, and refers to terminology from Gerard Meszaros. I did a little digging, and found that Gerard authored (among other things) a neat chart on the aforementioned page that shows how different kinds of test doubles compare in their behavior, along with some examples.

blog comments powered by Disqus

About this Entry

This page contains a single entry by Aaron Oliver published on May 29, 2008 10:38 PM.

Soft Links: Image Search Games, Old Carpentry, Evil Patterns, and Beauty was the previous entry in this blog.

Sweet Meeting Smells:Three Things That SHOULD Be Said in a Software Requirements Meeting is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Creative Commons License
This blog is licensed under a Creative Commons License.