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

Outside-in TDD with Test Doubles

Outside-in TDD with Test Doubles

A Test-Driven Development Refresher.
- Types of test doubles.
- How to create a test double manually or using a framework.
- Classic TDD vs Mockist TDD.

Paulo Clavijo

July 24, 2018
Tweet

More Decks by Paulo Clavijo

Other Decks in Programming

Transcript

  1. Wri a l un s Mak te p Ref r

    Wri a l ac t e t
  2. Sale + scan(barcode: String) <<interface>> Display + showLine(line: String) Lcd2x16Display

    + showLine(line: String) SpyDisplay - lastLine: String + showLine(line: String) + getLastLine(): String