Chapter 10: Putting It All Together
In this chapter, we will analyze what we have done so far in the previous chapters and look at different ways we can improve the layers of the application. Later, we will explore the benefit of clean architecture when we integrate instrumented testing into the application, where we will swap the data source dependencies with mock dependencies to ensure the reliability of the tests.
In this chapter, we will cover the following topics:
- Inspecting module dependencies
- Instrumentation testing
By the end of the chapter, you will be able to identify and remove external dependencies in the use case layer of the application to enforce the Common Closure Principle (CCP) and know how to create instrumented tests on Android with mock data sources.