Snapshot Testing

Save output at the beginning of a test, then check again later to see if the values changed.

What is Snapshot Testing?

Save a component's output the at the beginning of a test, then compare the results again later to catch differences.

Level: Journeyman · More Unit Testing terms at this level

Updated