Chapter 14. Testing mobile apps using Xamarin UITest
This chapter covers
- What UI testing is
- Using Xamarin UITest to do UI testing
- Using the REPL
- Interacting with controls
- Asserting that the UI is correct
As we’ve built our apps, we’ve written a lot of unit tests to verify the model and view-model layers, but we’ve written nothing to test the view layer. Although this layer is small, there could still be issues that aren’t spotted until the app is out in the wild. Fortunately, we can write automated tests to help catch such bugs before users see them, causing them to uninstall our apps and move to a competitor’s offerings.
14.1. Introduction to UI testing
One of the great things about the MVVM design pattern is that it allows us to maximize ...
Get Xamarin in Action 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.