O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running UITests within the Visual Studio for Mac IDE

In this section, we will take a look at how to run our Xamarin.UITests using the Visual Studio for Mac IDE. Prior to running your TrackMyWalks.UnitTests project, you will need to add your iOS and Android projects to the Test Apps node of the Unit Tests pane. If you don't do this, your Xamarin.UITests will continually fail until you add these projects to your TrackMyWalks.UITests project.

Let's take a look at how we can achieve this by performing the following steps:

  1. First, ensure that you have chosen the Debug option from the drop-down menu.
  2. Next, select the View|Unit Tests menu option, as shown in the following screenshot:
Running UITests within the Visual Studio for Mac IDE
  1. Then, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required