Skip to content

Glossary: Testing Web Apps

Snapshot test

Also written: toMatchSnapshot

A test that compares output to a previously saved copy and fails if the output changes. It is a quick way to notice unexpected changes, though differences must be reviewed to see whether they are intended.

Where the book teaches it

Related terms

Visual regression test