Package 

Class ScreenshotTestRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    
    public final class ScreenshotTestRule
     implements TestRule
                        

    A TestRule that allows you to run screenshot tests of your composable components.

    This rule requires robolectric, so the test suite should run with RobolectricTestRunner. See ScreenshotBaseTest for a basic configuration.