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 ...
Get Gradle for Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.