TAG: Testing

Navigation

Pluralsight: Beginning Automated Testing of Xamarin Applications

Recently I had the pleasure of working with my friend Jesse Liberty on a new Pluralsight course focused on helping you get started building Xamarin apps in a test-driven fashion. In under an hour he walks you through building out a real app using tests right from the start, running those tests on both iOS and Android, and also getting into writing UI tests to run locally as well as in Test Cloud. If you're looking…

Testing Xamarin Apps: Screen Object Pattern

Writing UI tests for Xamarin is awesome and easy using Xamarin.UITest, which allows you to write tests in C# that work across both iOS and Android. It provides a nice API to interact with your apps from test code, allowing for performing many common tasks for interacting with an app such as tapping elements, entering text, scrolling, swiping, etc. Typical UI Tests Using a tip calculator app as an example, here's what one such test…

Testing Xamarin Apps: Getting Started with xUnit

It's no secret that I'm a big proponent of testing, and lately I've been getting a lot of questions around how to approach getting started and what technologies to use. While I have a good amount of content coming out around this, some already announced, some to be announced soon, I thought I would also try to take some time to put together a few posts on the subject as well. In this post I'm going…

Automated UI Testing and Monitoring for Your Mobile Apps

I gave a talk tonight at the NYC Mobile .NET Developers Group on automated UI testing and monitoring for apps. For anyone interested, here are my slides: I don't have any specific sample code available from this talk since all of my demos were entirely live coded, but if you're looking to get started then Xamarin's documentation is a great place to start, or I'm happy to try and answer any specific questions anyone might have…