Mobile Zone is brought to you in partnership with:

Alec is a Content Curator at DZone. He lives in Raleigh and spends his free time writing and programming. Alec is a DZone Zone Leader and has posted 465 posts at DZone. You can read more from them at their website. View Full User Profile

Espresso: An API for UI Testing on Android

02.19.2014
| 5129 views |
  • submit to reddit

If you're an Android developer and you haven't heard of Google's Espresso, an Android API to help test UI, you should definitely check it out. It's a small API released a few months ago without a lot of fan-fare - you can find all the details here - and designed to help developers test state expectations, interactions, assertions, and more without having to deal with a lot of boilerplate and clumsiness.

Epresso 1.1 came out in January and brought with it some new features and bug fixes, and for a more detailed overview, check out this talk from the Google Test Automation Conference 2013: