Chapter 10: Test Your App with UI and Unit Tests

In the previous chapters, one of our main focuses was to have a testable architecture. We tried to achieve that by decoupling different components from each other.

In this chapter, because of the architecture we put in place, we will see how easy it is to test in isolation different parts of the Restaurants app.

In the Exploring the fundamentals of testing section, we will be understanding the benefits of testing and exploring various types of tests. In the Learning the basics of testing your Compose UI section, we will learn how to test our Compose UI.

Finally, in the Covering the basics of unit-testing your core logic section, we will learn how to test the core functionality of your Restaurants ...

Get Kickstart Modern Android Development with Jetpack and Kotlin 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.