I'm writing tests using okhttp3, mockwebserver, and retrofit2 in Android/Kotlin.
Everything I look up tells me to use the jakewharton idling resource, but it will not import into my project.
I got the info straight from Jake Wharton's github
It looks like the build.gradle
dependencies no longer support androidTestCompile
.
The dependency should switch from:
androidTestCompile 'com.jakewharton.espresso:okhttp3-idling-resource:1.0.0'
to
androidTestImplementation 'com.jakewharton.espresso:okhttp3-idling-resource:1.0.0'