Five Lessons from Implementing Pixel-Perfect Testing of a Design System on Android
summary
Practical lessons from two years building pixel-perfect screenshot testing for an Android design system, focusing on overcoming limitations of existing screenshot approaches. Covers studying Android UI internals, improving performance and quality, and making tests easy to write via custom test runners and tooling, plus a brief QuickStart for adding screenshot tests to a project and key implementation details.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:32Speaker and project
- 5:38Design system challenges 2022
- 7:53Pixel-perfect testing
- 12:07Storybook integration
- 13:17Lesson 1: Modular structure
- 16:29Optimizing without Activity
- 19:01Lesson 2: Test performance
- 21:30Apple M1 issue
- 24:10Lesson 3: Single source of truth
- 26:18Lesson 4: Developer experience
- 28:23Lesson 5: Unit tests vs UI
- 30:10Summary and future plans
- 30:32Q&A
related talks
01h 28mMastering Screenshot Testing Libraries for Android: A Hands-On Workshop
19mTesting Beyond Unit
43mMobile: Test Every Pixel - Screenshots in UI Tests (...)
34mDesign System Driven Android Development: A Guide to Automation Tools
44mEfficient testing UI Android apps by example
31mAn Introduction to Effective Snapshot Testing on Android
42mEfficient UI testing in Android
46mEfficient Android UI Testing
