I've a "Android Library" module for my common Composables. This module doesn't have any activity as I'm not defining any actual Screen here. How can I test the Composables in this module?
z
Zach Klippenstein (he/him) [MOD]
11/13/2020, 3:35 PM
You can use
createComposeTestRule
and call
setContent
on it directly, without configuring an activity. It has its own activity just for this use case.