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

Summary

This chapter was dedicated to the Android integration and UI testing. We covered four alternatives in detail to write your tests. We started by discussing the standard way of writing instrumentation tests, as proposed by the Android framework. Then, we saw some great tools like Spoon, Robotium, and Selendroid that either provide better ways to write functional tests or add more features like screenshots and better reporting. By now, you should be able to:

  • Set up all tools in Maven as we discussed in this chapter
  • Select the tool that fits better for your application or for your development environment
  • Write the basic integration tests and run them using Maven commands

We leave behind the topics of Android testing and we can move on to the next ...

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