Offline scenario with Robolectric

22 views
Skip to first unread message

minesh patel

unread,
Mar 3, 2021, 5:48:04 PM3/3/21
to robol...@googlegroups.com
Hi Everyone,
I am an Android engineer and I am trying to write some unit tests for my viewModel for Offline scenario. Is there a way to Mock no network situation with Robolectric. Solutions I have found are either deprecated or not working. Please help!

Thanks,
Minesh.
Reply all
Reply to author
Forward
0 new messages