Chapter 16: Automated Testing
Unit and coded UI tests are generally perceived by most developers as the most monotonous part of the application project life cycle. However, improving the unit test code coverage and creating automated UI tests can help save an extensive amount of developer hours, which would otherwise be spent on maintenance and regression. Especially for application projects with a longer life cycle, the stability of the project directly correlates with the level of test automation. This chapter will discuss how to create unit and coded UI tests and the architectural patterns that revolve around them. Data-driven unit tests, mocks, and Xamarin UI tests are some of the concepts that will be discussed.
In this chapter, we will be focusing on creating various types of tests for different phases of the application life cycle. We will start this chapter by looking at unit testing, before taking a look at setting up unit testing and the execution strategies in Xamarin...