Automated UI testing

While unit tests ensure that a significant amount of code is tested, it is specifically focused on testing the logic within the app, leaving the user interface largely untested. This is where UI testing comes into play. UI testing allows us to automate specific actions within the app's user interface to assert that they function properly—just like regular unit tests assert that business logic delivers the desired results or functionality.

Xamarin provides a very rich set of tools for performing automated UI tests—both locally and in the Xamarin Test Cloud. UI tests can be written in C# and NUnit using Xamarin's UITest framework or in Ruby using Xamarin's Calabash framework. For the purposes of this book, we will only focus ...

Get Mastering Xamarin.Forms 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.