Snapshot testing (nomadphp)

Snapshot testing (nomadphp)

A1b4b398630bbd32b77a82cbc37fae9a?s=128

Freek Van der Herten

July 20, 2017
Tweet

Transcript

  1. 2.

    About me Freek Van der Herten Partner & developer at

    SPATIE @freekmurze https://murze.be
  2. 4.

    Since 2003 Websites, applications and webshops Team 4 developers, 1

    manager Specialization Laravel development
  3. 6.

    ± 120 packages on Packagist Laravel, Framework agnostic PHP ±

    4 000 000 downloads in total, growing ±500 000 a month We create a lot of it Open source software
  4. 9.

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

    if output matches snapshot If not, test will fail What?
  5. 12.
  6. 14.

    Advantages Very easy to get started with Can be used

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