Unit Testing API-Specific Code on Android
A refined guide after several misfired attempts
Published in
4 min readNov 17, 2021
Have you ever looked at something for so long that you feel you have exhausted every possible approach to a solution? Finally, when you arrive at your very last technique, it leaves you baffled as to why it didn’t occur to you sooner? That was my experience with unit testing API-specific code on Android.