Mobile Zone is brought to you in partnership with:

Alec is a Content Curator at DZone and lives in Raleigh, North Carolina. He is interested in Java and Android programming, and databases of all types. When he's not writing for the NoSQL and IoT Zones, you might find him playing bass guitar, writing short stories where nothing happens, or making stuff in Java. Alec is a DZone Zone Leader and has posted 579 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
| 5889 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: