Book Image

Learning Android Application Testing

Book Image

Learning Android Application Testing

Overview of this book

Table of Contents (16 chapters)
Learning Android Application Testing
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Alternative Testing Tactics

Up to this point, we have analyzed the most common and accessible tactics to implement testing in our projects. However, there are a few missing pieces in our puzzle, which we'll hope to cover in this final chapter. The Android ecosystem is always moving forward, with the advent of Android Studio and Gradle. The toolbox for testing is also always being added too. In this area, we'll look at some third-party libraries that can help us expand our testing framework; such as Robolectric for Android testing on the JVM, as well as potential bleeding edge and future developments, like Fork; imagine threading for your tests.

In this chapter, we will be covering the following topics:

  • Jacoco code coverage

  • Robotium

  • Testing on host's JVM

  • Robolectric

  • Fest

  • Spoon/Fork