Created
December 29, 2023 12:03
-
-
Save ngallazzi/d425524c14bc8f0f24912b81984ba25c to your computer and use it in GitHub Desktop.
Compose UI Rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyLayoutTest { | |
@get:Rule | |
val composeTestRule = createAndroidComposeRule<ComponentActivity>() | |
@Test | |
fun testMyLayout() { | |
// Start the app | |
composeTestRule.setContent { | |
MyLayout() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment