Slide 51
Slide 51 text
Component-based screenshot
testing with Roborazzi
● What: Screenshot tests for component design like a Button
component
● Why: Ensuring Consistency, Detecting Visual Regression,
Cross-Setting and Cross-Form-Factor Consistency,
Documentation, Enhancing User Experience
● How: You can utilize Jetpack Compose Preview for
component-based screenshot testing. There are two methods:
・Utilizing Showkase, which employs Kotlin Symbol Processing to
gather Preview functions.
・Using Reflection, with libraries such as ClassGraph
Full changes
https://github.com/takahirom/ro
borazzi-usage-examples/pull/1