Does android-test provide an alternative to (or wrapper around) `ShadowActivity.getNextStartedActivity`

60 views
Skip to first unread message

Callum Stott

unread,
Sep 23, 2021, 6:45:24 AM9/23/21
to androidx-test-discuss
I'm wondering if it's possible to write assertions on the next started Activity when writing unit tests for an Activity using `ActivityScenario`. Right now, the best solution I can find is to do an `onActivity` and then use Robolectric inside the lambda/block.
Reply all
Reply to author
Forward
0 new messages