Improving software delivery in every organisation

Test Doubles

At Made Tech we have adopted the Martin Fowler terminology of test doubles. You can read an in depth explanation of test doubles on his website.
When using one of these test doubles you should be able to explain which type you are using.

  • Dummy
  • Stubs
  • Spies
  • Fake
  • True Mocks

Reading material

Marking scheme

  • Can identify the type of test double from code they haven’t written.
  • Can hand-write each of the test doubles.
  • Can explain when you should and shouldn’t use test doubles.
  • Can explain why minimizing the number of test doubles a single test case uses is desirable