O'Reilly logo

Gradle for Android by Kevin Pelgrims

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

Chapter 6. Running Tests

To ensure the quality of any app or library, having automated tests is important. For a long time, the Android development tools lacked support for automated tests, but recently, Google has put in a lot of effort to make it easier for developers to get started with tests. Some old frameworks have been updated, and new frameworks have been added to make sure we can thoroughly test apps and libraries. We can run them not only from Android Studio, but also directly from the command-line interface, using Gradle.

In this chapter, we will explore the different ways to test Android apps and libraries. We will also look at how Gradle can help to automate the testing process.

We will cover the following topics in this chapter:

  • Unit ...

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