Join Slack
Powered by
Can anyone point me to an example of mocking Andro...
# android
e
Ellen Spertus
03/26/2020, 6:49 PM
Can anyone point me to an example of mocking Android components with MockK? I’ve asked on
#mockk
but gotten no responses.
t
tseisel
03/27/2020, 8:23 AM
You may only be able to mockk interfaces such as
SharedPreferences
. I think it would be easier to use Robolectric Shadows.
6
Views
Open in Slack
Previous
Next