Testing Xamarin Applications with Visual Studio App Center

Shikha Kaul

Frequent testing of your software is a key to success. As mentioned in my previous article “Mobile CI/CD 101″ it’s not easy to cover an entire mobile application with just regular unit tests. Most mobile applications depend on the user interface and platform-specific features that make true Test-Driven Design (TDD) with solely unit tests extremely challenging It’s better to split automatic testing in two parts: cover the Data Access Layer with unit tests and cover the Business Logic, User Interface, and platform features with UI tests. You can do both types of testing with your Visual Studio App Center CI/CD pipeline. This article will help you learn how to more easily test Xamarin.Forms applications with MSTest based unit tests and Xamarin.UITest based UI tests.

Feedback usabilla icon