With the test changes in the latest version in Com...
# compose-android
e
With the test changes in the latest version in Compose, is there any way to use
StateRestorationTester
together with
runComposeUiTest
?
a
There's a different
StateRestorationTester
(in a different package) that supports the
runComposeUiTest
by taking a
ComposeUiTest
as a parameter instead of a
ComposeContentTestRule
https://developer.android.com/reference/kotlin/androidx/compose/ui/test/StateRestorationTester vs https://developer.android.com/reference/kotlin/androidx/compose/ui/test/junit4/StateRestorationTester
e
Ah I was looking for a v2 package. Thanks!