Is it possible to mock coil network level when unit testing? With MockWebServer
? Or test it somehow else? I can't find information on the Internet about it.
I've found the answer. We can use OkHttp’s mock web server. Also check out: https://coil-kt.github.io/coil/image_loaders/#testing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With