Book Image

Android Application Development with Maven

Book Image

Android Application Development with Maven

Overview of this book

Table of Contents (14 chapters)

Other integration testing tools


There are a couple of tools that we think deserve their own little space in this integration testing chapter. We won't cover them in detail, but we want to give you some basic idea of how you can use them in a Maven environment. The reason that we didn't cover them in separate sections is that they don't have a straightforward Maven integration, and many things should be done manually:

  • Espresso (https://code.google.com/p/android-test-kit/wiki/Espresso): It is a funny-tiny framework that allows you to quickly run integration tests without worrying about waits, syncs, sleeps, and all these annoying things. The required library does not exist in any public Maven repository; so, you need to download and build the code by yourself and then add it to your local Maven repository. Then you can add the dependency to your project. The idea is again the same. You need to add the APK and JAR dependencies of the AUT in your pom.xml file and write instrumentation tests...