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

Snapshot Everything

Snapshot Everything

A brief introduction to the magic of "snapshot testing" (it's not just for the front-end)

Given at Brooklyn JS in 2017

Jason Rhodes

May 18, 2017
Tweet

More Decks by Jason Rhodes

Other Decks in Programming

Transcript

  1. …the whole point of tests is to gain confidence before

    changing things. And to the extent that there are false negatives in the tests, or the tests gum up the works, they’re doing the opposite of that. Tests are one way to gain some confidence that a change is safe. But that’s all they are. Just one way. –Dan McKinley, Former Etsy Engineer Source: pushtrain.club
  2. The whole point of tests is to gain confidence before

    changing things. Tests are one way to gain some confidence that a change is safe. Source: Dan McKinley’s awesome slide deck at http://pushtrain.club