https://kotlinlang.org logo
#compose
Title
# compose
s

Skolson5903

01/18/2021, 8:15 PM
Trying to do a unit test using alpha10 of compose and can't figure out where to import createAndroidComposeRule if it is still good stuff 🙂. It doesn't seem to be in
Copy code
androidx.compose.ui:ui-test:1.0.0-alpha10
Last I see it anywhere is in androidx.uiui test1.0.0-alpha07. Does anyone have a sample unit test using this and at least alpha08 or later so I can see what I'm missing? Thanks in advance...
v

Vinay Gaba

01/18/2021, 9:29 PM
The coordinates changed for the import. Try
androidx.compose.ui:ui-test-junit4
s

Skolson5903

01/19/2021, 12:05 AM
Thanks!!