© Paul Johnson 2018
Paul JohnsonUsing MVVM Light with your Xamarin Appshttps://doi.org/10.1007/978-1-4842-2475-5_7

7. Unit Testing

Paul Johnson1 
(1)
Merseyside, UK
 

Unit testing is often omitted from the development cycle of a mobile application (unless you are working in a large team, typically). If you are not in a large team but are essentially the equivalent of the 1980s bedroom coder, why should you unit test when it’s quicker to deploy to a device and see first-hand if something fails?

The simple answer is that it is usually very difficult to find what has gone wrong, and as the code base gets larger the ability to quickly find the issue decreases significantly. Take, for example, the following: I have a database-driven application. I add code ...

Get Using MVVM Light with your Xamarin Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.