Join Slack
Powered by
Hello Is there a way to get androidContext() mocke...
# koin
l
LG
02/22/2021, 11:54 AM
Hello Is there a way to get androidContext() mocked in my module for a unit test ?
p
pawegio
02/22/2021, 1:03 PM
Injecting
MockContext
instead?
https://developer.android.com/reference/android/test/mock/MockContext
l
LG
02/25/2021, 5:54 PM
I was looking for a solution to avoid re-creating my module dependencies for my test I learned that it wasn't possible to do unit test with my stacks, only instrumental test
4
Views
Open in Slack
Previous
Next