snapshot testing (phplimburg)

snapshot testing (phplimburg)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

September 07, 2017
Tweet

Transcript

  1. 2.

    About me Freek Van der Herten Partner & developer at

    SPATIE Blogging at https://murze.be https://murze.be/newsletter
  2. 5.

    Open source software ± 160 public repositories on GitHub August

    2016: ± 800 000 downloads August 2017: ± 5 000 000 downloads ± 500 000 downloads a month
  3. 7.

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

    if output matches snapshot If not, test will fail What?
  4. 10.
  5. 12.

    Advantages Very easy to get started with Can be used

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