Daily iOS
Testing

Snapshot testing

You want to introduce snapshot testing to your team. What problem does snapshot testing solve?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

A snapshot test renders a view in a given state and compares it against a stored reference image (or text tree), catching visual regressions in layout, color, and fonts far more cheaply than a UI test.

Share a question