Chapter 3. Unit Testing
So far, we have discussed some fundamental steps needed for setting up your development environment and for creating a very simple Android application using Maven. We also saw how to manage Android emulators and run the application during development stages. In this chapter, we will cover the topic of unit testing. We will see the configuration needed for running unit tests using various frameworks and get reports about code coverage.
This and the subsequent chapter, will not teach you how to write tests for Android application, although there will be some minimal examples to demonstrate the material of each chapter. If you're not familiar with the concepts discussed in the next pages, you are strongly encouraged to read the resources that we will provide in each section.