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 Calabash
framework by adding the iOS projects to the TrackMyWalks.UITests
project.
This was the final chapter. I sincerely hope that you had lots of fun developing apps throughout our journey working through this book. You are now equipped with enough knowledge...