Summary
In this chapter, we started learning how to use logs in our app in an advanced way, and we took a quick overview of the debugging process. We explained what tests are and how to create unit and integration tests with Robolectric and Espresso, respectively.
We also created UI tests, starting with stress tests with the The Monkey, then generating random events, and later started testing with MonkeyTalk, recording event flows that can be played again verifying the output. To finish, we spoke about continuous integration to discover how companies put together the tests and the building system for an Android app.
In the next chapter, which is the last chapter of this book, we will take a look at how to monetize our app, how to build the app using different build flavors, and obfuscating the code, leaving it ready to be uploaded to App Store.