Testing can be fun, actually
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Snapshot testing is a technique that automates test assertions by capturing and storing expected outputs, then comparing future runs against saved snapshots. Instead of manually writing and maintaining verbose test assertions, developers write tests that produce output, review it once, and let the testing library handle
Table of contents
# The problem# Snapshot testing to the rescue# But what about non-strings?# Your imagination's the limit# Effective snapshot testing# ConclusionsSort: