In the previous section, we saw how easy it is to create a set of unit tests that enable us to test our ViewModels
within the TrackMyWalks
project. Whilst unit testing ensures that a significant amount of code is tested, it is primarily focused on testing the actual business logic within the app. This leaves the user interface portions of the app still untested, but the beauty of using UI testing allows us to automate specific actions within our app's user interface to ensure that it is working as expected.
Fortunately, Xamarin Studio provides you with a rich set of tools for performing automated UI tests, and these can be both written in C# and make use of the UITest framework. Let's start by creating a new UITest project within our TrackMyWalks.Tests
project solution, by performing the following steps:
Right-click on the
TrackMyWalks.Tests
solution project and choose the Add | Add New Project... menu option. If you can't remember how to do...