Join Slack
Powered by
Anybody know how to get a context in a regular uni...
# announcements
r
ronnie173
11/21/2019, 8:02 PM
Anybody know how to get a context in a regular unit test? Not an integration test.
r
Ruckus
11/21/2019, 8:06 PM
A context for what?
c
Casey Brooks
11/21/2019, 8:09 PM
Like, the Android
Context
class? You could use Robolectric
http://robolectric.org/
r
ronnie173
11/21/2019, 8:51 PM
Yeah that is what I am trying to use right now. Thanks
r
Ruckus
11/21/2019, 8:51 PM
You may want to ask in
#C0B8M7BUY
2
Views
Open in Slack
Previous
Next