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

snapshot testing (laraconus)

snapshot testing (laraconus)

Freek Van der Herten

July 25, 2017
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

  1. A file on disk, let’s call in snapshot Test succeeds

    if output matches snapshot If not, test will fail What?
  2. Advantages Very easy to get started with Can be used

    to validate complex output Easily update all the tests in one go