Compose snapshot testing — pixel-by-pixel verification of @Composable output.
“DevOps、云与基础设施”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Compose snapshot testing — pixel-by-pixel verification of @Composable output.
Covers Paparazzi (JVM, fast, no emulator) and Roborazzi (Robolectric-based,
emulator-free or device). Catches regressions in design system, theming, dark
mode, font scaling, and locale rendering. CI integration with image diff
reporting.
USE WHEN: user mentions "Paparazzi", "Roborazzi", "Compose snapshot", "screenshot test",
"visual regression", "pixel comparison", "showkase paparazzi", "compose preview test"
DO NOT USE FOR: Mobile E2E - use `testing/maestro`
DO NOT USE FOR: SwiftUI snapshots - use swift-snapshot-testing (separate)
DO NOT USE FOR: Compose Multiplatform iOS snapshots - immature; use Paparazzi for shared composables on JVM
DO NOT USE FOR: Logic tests - use `testing/kotest` or `testing/turbine`