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.

Summary

In this chapter, you learned how to create and run unit tests and UITests for the TrackMyWalks application, using the Xunit and Xamarin.UITest frameworks. You learned how to add the Moq NuGet package to the TrackMyWalks.UnitTests project within the TrackMyWalks solution so that you can test the business logic within your ViewModels in order to validate that everything is working correctly, and returning the results you are looking for.

Next, we moved on and created the TrackMyWalks.UITests project using the Xamarin.UITest framework so that we could perform testing on the user interface using Automated UI Testing. You then learned how to create, test, and execute each of your tests locally using the Xamarin Test Cloud Agent and the ...

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