Subscribe to PHP Freaks RSS

A Practical Introduction to Snapshot Testing

syndicated from planet-php.net on August 14, 2017

Speaker: Freek Van der Herten @freekmurze The basic idea of snapshot testing is that you compare the output of your code against a file that’s written on disk. That file is called a snapshot. If the output of your test matches up with the contents of that snapshot, it succeeds, otherwise, it fails. It’s a …

The post A Practical Introduction to Snapshot Testing appeared first on Nomad PHP.