-
Notifications
You must be signed in to change notification settings - Fork 0
Testing framework and methodology
For the unit testing, we are presented with possible libraries to test with: NUnit and XUnit.
By looking at the advantages and disadvantages of each library, we have reached the conclusion that it doesn't really matter which one we use. They both give the tools for the developer to write good tests and the quality of the test won't change based on which library we use but rather on our skill at testing. We have chosen to go with NUnit since it seems more of a standard withing C# and Xamarin. Xamarin provides tools for better UI tests which are implemented with NUnit. Also, tools such as Resharper provide better support for NUnit and run well withing Visual Studio, so we are satisfied with it.
For UI testing, Xamarin has an internal library called Xamarin.UITest to validate the ui of iOS and Android devices. We are not planning to release on other devices such as Windows Phone so this will do the job for us. This library will be useful since it can be used to test the UI on all different versions of iOS and Android as well as being used as Acceptance tests. It can also be automated which is great to be able to do daily tests at night after everyone commits their code for example.