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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.