Overview of Composable Preview Scanner
masterComposable Preview Scanner is a Compose Multiplatform friendly library designed to auto-generate screenshot tests from Composable Previews (such as Android and Glance). It is library-agnostic and works with both JVM-based screenshot testing libraries (e.g., Paparazzi, Roborazzi) and Instrumentation-based libraries (e.g., Shot, Dropshots, Android-Testify).
Key features include:
- Support for
@PreviewWrapper(since 0.9.0+). - Support for
@PreviewParameters,@PreviewScreenSizes,@PreviewFontScales,@PreviewLightDark, and@PreviewDynamicColors. - Ability to scan
@Previewsin any source set (main,screenshotTest,androidTest). - Support for
@Previewsinside public or private classes. - Support for both Android and Compose Multiplatform (Desktop/JVM and
commonsource sets).