Description
Adds snapshot testing support to pytest so tests can compare current output with previously approved results. It helps developers catch unintended changes in rendered text, data structures, API responses, or generated files.
Use it as a testing library. Snapshots should be reviewed before updating them, because accepting new snapshots blindly can hide regressions.