Snapshot Testing

Get to know the pros and cons of snapshot testing.

We'll cover the following...

Introduction

The idea of a snapshot test is to run the code through one or more steps and capture the important output. If we refactor the code and re-run it, does the output change? If so, we’ve likely changed the behavior of the code. We now ...