O'Reilly logo

Android Application Development with Maven by Patroklos Papapetrou, Jonathan LALOU

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Grabbing screenshots with Spoon

A typical Android application consists of several activities with many components and various flows of user interaction. Instrumentation tests should be able to cover if not all, most of the activity flows; so, hundreds of instrumentation tests might run every time the corresponding Maven goal is invoked. It is also very common during the development cycles that some tests might get broken due to some recent changes or new Android SDKs or new incompatible devices. Maven can report on the errors found during a test run, but in some cases the information provided is not enough. A picture worth a thousand words, so wouldn't be much better if we could have a report of all screenshots taken during integration test execution? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required