You’re a smart guy, figure it out!

Mike Grushin’s thoughts on everything tech-related and more…

Xamarin Evolve 2013 – Calabash – Cross-Platform Automated UI Testing

Posted by mikeg on April 17, 2013

  • Speaker – Karl Krukow
  • Xamarin purchased LessPainful, makers of Calabash (
  • UI Test Automation for iOS & Android
  • Code reuse for logic but by nature of different UIs there will be different test logic
    • Objective C, Java and Ruby
  • Native and Hybrid apps
  • Ruby API (C# API in the making)
  • Behavior Driven Development (BDD)
    • it is NOT
      • programming in plain text
      • writable by your boss
    • specification
    • readable by all project members
  • High-Level Architecture



  • Sample high level test case (readable by business people), click on each line to go into code


  • Images show code for each line – they are generic enough to be XPlat, but then .login implementation is platform specific


  • iOS Implementation of .login


  • Android implementation of .login


  • Running the tests


  • Ability to drive the app through the console


  • Including map and screen rotation


  • CI is fully supported
  • Hybrid apps are supported through CSS selectors

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 185 other followers

%d bloggers like this: