Mastering Screenshot Testing for Android Apps
summary
Compares Roborazzi and Google’s Compose Preview Screenshot Testing (CPST), showing a real setup that uses Roborazzi + Showcase with a screenshot-grad plugin, GitHub Actions automation and about 500 reference images; CI runs take ~10 minutes (local 1–2 minutes). Roborazzi offers fine-grained device/font/animation control and can export GIF sequences; CPST is faster and preview-driven but still experimental—fails on some device annotations and requires a separate source set. Tests produce three-image diffs (reference/actual/diff).
AI-written summary · about
chapters (10)
- 0:00Introduction
- 0:45Presentation
- 7:14Implementing Screenshot Testing
- 10:43Automated Screenshot Testing
- 13:45CPST
- 19:08Experience
- 23:48Challenges
- 25:17Adaptive Layout
- 29:23Animation Screenshot Testing
- 37:08Summary
related talks
44mAutomating Screenshot Testing in Compose Multiplatform
19mSneak Peek at the Screenshot Testing Landscape in 2024
35mEasy screenshot testing with Compose
41mAndroid Screenshot Testing on Autopilot
01h 28mMastering Screenshot Testing Libraries for Android: A Hands-On Workshop
23mAll your Compose @Previews to screenshot tests without instrumentation
42mMaking UI Specs Visible — Compose Screenshot Testing and a Gallery to Support the AI Agent Era
37mSnapshot testing (and more!) with Paparazzi
