python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Maven dependencies wrong version for okhttp3 mockwebserver
I am trying to use okhttp3.mockwebserver with my Spring boot project and I find out that okhttp3:mockwebserver:jar:3.14.9 is included instead of 4.9.1.
I have created small 'mock' projects to reproduc...
mkarasik
Votes: 0
Answers: 2
TimeoutCancellationException when running tests for a Retrofit coroutine in a Kotlin flow
I have a repository that creates a flow where I emit the result of a suspending Retrofit method. This works in the app, but I would like to run tests on the code.
I am using kotlinx-coroutines-test v1...
Eva
Votes: 0
Answers: 2
How to make MockWebServer + Retrofit + Coroutines run in the same dispatcher
I'm unsuccessfully trying to use MockWebServer + Retrofit + Coroutines on my Android unit tests. During debugging, I found out that OkHttp is running on a different thread, which is why my test always...
Ygor
Votes: 0
Answers: 1