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: Lowering Unit Testing Friction
In my my last post I showed how to set up unit tests that can easily be run against .NET/Mono, iOS, and Android. As a followup to that, I want to outline a few tips and tricks for lowering the friction to running these tests. The easier you can make it to add new tests and run them the more value you'll get out of testing. In fact, these tips apply to testing on any…
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…
Yet Another Podcast #141: Greg Shackles on Xamarin
I recently had the pleasure of being a guest on Jesse Liberty's Yet Another Podcast to talk about Xamarin, with a particular focus on how we do things at Olo. Check it out, and I hope you enjoy! http://jesseliberty.com/2015/08/24/yet-another-podcast-141-greg-shackles-on-xamarin/…
Create Modern Android Apps with the Design Support Library
With the release of Android 5.0, also known as Lollipop, Google introduced its new material design style. Material Design is a huge step forward for Android apps, bringing with it a total overhaul of theming, as well as a bunch of new UI components you can use in your apps. To make things even better, Google also released the Android Design Support Library, which allows you to take advantage of material design in versions of…