Lights, Camera, Snapshot! What’s New in Paparazzi 2.0
summary
Paparazzi 2.0 breaks the JUnit 4 rule into a separate SDK that loads Android Studio’s layoutlib, exposes setup/teardown lifecycle hooks, and returns an abstract snapshot/clip instead of raw BufferedImages so other engines (Robolectric, headless iOS) can plug in. Image diffing moves from pixel-perfect and “off-by-two” hacks to perceptual metrics — MS‑SSIM shows promise with a 98% threshold on examples — while FLIP, SIFT and ΔE2000 are being evaluated. Gradle plugin no longer forces AGP/Kotlin versions, adds API36, embeds failure diffs in reports, introduces a root-level snapshot browser and experiments with a keyframes API for clips and fake system UI.
AI-written summary · about
chapters (9)
- 0:00Paparazzi 2.0 intro
- 1:48SDK snapshot separation
- 4:39Image diff improvements
- 8:53Fuzzy snapshot matching
- 17:03Accessibility testing
- 20:31Gradle plugin updates
- 23:41Snapshot browser changes
- 27:11Video key frames API
- 28:36Future ideas & Q&A
related talks
34mA Snapshot Preview of Paparazzi 2.0
39mA Snapshot Preview of Paparazzi 2.0
37mSnapshot testing (and more!) with Paparazzi
35mSnapshot testing (and more!) with Paparazzi
33mKeeping your Pixels Perfect �: Paparazzi 1.0
40mWhat's new in Paparazzi?
39mWhat's new in Paparazzi?
19mSneak Peek at the Screenshot Testing Landscape in 2024
