Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mocks and Stubs and Spies, oh my!

Mocks and Stubs and Spies, oh my!

Slides from my introduction to test doubles talk given at DroidCon NYC

Brian Gardner

August 27, 2018
Tweet

More Decks by Brian Gardner

Other Decks in Technology

Transcript

  1. When to use Test Doubles? • System under test has

    indirect inputs • System under test has indirect outputs • Slow tests*
  2. Recap • Use correct terms for more effective communication •

    Match test doubles to the appropriate tests • Don’t over use them