snapshot testing (laraconus)

snapshot testing (laraconus)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

July 25, 2017
Tweet

Transcript

  1. 4.
  2. 5.
  3. 8.

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

    if output matches snapshot If not, test will fail What?
  4. 11.
  5. 13.

    Advantages Very easy to get started with Can be used

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