Image for post
Image for post
Photo by Muhammad Rosyid Izzulkhaq on Unsplash

It’s no secret that automated tests are an important way to maintain high-quality code and prevent later changes from breaking functionality. At Thumbtack we’re always looking for ways to encourage test writing by making the process easier and more robust. As an Android engineer, one big pain point was that for a while, our team didn’t have a good way to test that the UIs that we built looked correct. While we would do this manually when we built a feature, there was no guarantee that someone else, perhaps someone less familiar with the code, wouldn’t add something and miss testing an edge case. Our team first tried to solve this problem with Robolectric tests. Robolectric tests allowed us to make assertions on the UI as well as do some simple interactions with it. …

About

Emily Fujimoto

Senior Android Engineer @ Thumbtack

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store