Skip to content

Instantly share code, notes, and snippets.

@ngallazzi
Created December 29, 2023 14:27
Show Gist options
  • Save ngallazzi/39680ee6f1f10724698899e5a4ae0bda to your computer and use it in GitHub Desktop.
Save ngallazzi/39680ee6f1f10724698899e5a4ae0bda to your computer and use it in GitHub Desktop.
Compose test rules
class MyComposeTest {
@get:Rule
val composeTestRule = createComposeRule()
val composeTestRuleWithActivity = createAndroidComposeRule<YourActivity>()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment