Automated UI Testing: Xamarin Test Cloud & Calabash

At our monthly Interactive Developers of St. Louis meeting last night I presented this overview of the newly announced Xamarin Test Cloud. We then went deeper into Calabash exploring the various pieces making up a test, as well as how to inspect an application’s UI interactively via console. Big thanks to all that came out!

Xamarin Evolve Videos

Intro to Calabash: http://xamarin.com/evolve/2013#session-xcjpj20d6s
TestCloud: http://xamarin.com/evolve/2013#keynote-80:44

Calabash

http://calaba.sh/
iOS: https://github.com/calabash/calabash-ios
Android: https://github.com/calabash/calabash-android

https://github.com/aduggin/calabash-ios-tutorial

Xamarin Field Service Example with Calabash Tests

https://github.com/calabash/field-service-example

Cucumber

http://cukes.info/
http://pragprog.com/book/hwcuc/the-cucumber-book

Frank

http://www.testingwithfrank.com/

» continue reading
Categories: iPhoneXamarinPermalink

Xamarin Evolve: Crafting Interactions with Core Animation

The Xamarin Evolve 2013 conference has come and gone, fueling me with inspiration. What an amazing conference! The Xamarin team and community are truly awesome.

At Evolve, I had to honor of presenting “Crafting Interactions with Core Animation”. Thanks to all that attended and indulged my enthusiasm for Interaction Design. Slides and code are below, and the session video is now available on the Evolve site.


Demos: https://github.com/davidortinau/monotouch-samples/tree/master/CoreAnimation

» continue reading
Categories: XamarinPermalink

MonoTouch: How to Tell If The User Is Selecting Text or Tapping

Goal

Show and hide a toolbar at the bottom of the view when the user taps.

Why

Several apps, particularly those focus on reading the content in the view, offer a UIToolbar (or a custom component with buttons) at the bottom of the view that shows or hides according to the user’s taps.

What we want to detect is a single tap. Not a swipe. Not drag. Not if the user is selecting text.

How

Using a UITapGestureRecognizer we can handle taps on the UIWebView.

I setup a delegate for it and assign a Selector to handle the event.

From there we need to determine if the user is selecting text or just tapping, and show/hide the toolbar.

The Code

» continue reading
Categories: iPhoneMonoTouchXamarinPermalink