I've a "Android Library" module for my common Comp...
# compose
k
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
You can use
createComposeTestRule
and call
setContent
on it directly, without configuring an activity. It has its own activity just for this use case.
👍 1