Snapshot Testing¶
Jest Core Team. (2025). Snapshot Testing.
Cited by¶
1 citation across 1 artifact.
Each citation links to the sentence it supports in the citing article.
Mechanisms¶
- Regression Test Suite
- The classic misuse is blessing golden files without reading them — regenerating expected outputs to make a red suite green, which quietly certifies whatever the new code now does (approval testing degraded into rubber-stamping).
This sourceWarns that snapshot updates must be reviewed as code and that blindly regenerating snapshots can accept unintended output as the new expected behavior.
- The classic misuse is blessing golden files without reading them — regenerating expected outputs to make a red suite green, which quietly certifies whatever the new code now does (approval testing degraded into rubber-stamping).
Verification¶
Does it exist? Not checked yet. This entry carries no identifier to resolve. It was extracted from the citation as written in the article, normalized, and deduplicated against the rest of the registry.
Does it back the claim? Not recorded. The single citation of this work carries no recorded support check.
Support is checked per citation rather than per work — the same source can be cited soundly in one article and wrongly in another. Per-citation recording began recently, so a citation with no recorded check is a gap in the record rather than evidence it went unchecked.
See how references were verified.
Registry ID ref:c9b88c25164b · see in the full table