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 ...

Get Mobile Development with .NET- Second Edition 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.