https://kotlinlang.org logo
Title
c

Colton Idle

05/25/2023, 9:42 PM
Testing + moshi + retrofit question. I have a tricky request body that I had to model with moshi. server finally responds with 200 so it looks like i got it right. would it be weird to write a test with mockhttpserver so that I can locally verify my models are what the server the server expects...? i feel like maybe its weird because ive never done it before, and it would be overkill IMO to do that for like 99% of my network calls. but this 1 network call is tricky and so verifying it could be good