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 (http://www.calaba.sh) https://github.com/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

image

image

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

image

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

imageimage

  • iOS Implementation of .login

image

  • Android implementation of .login

image

  • Running the tests

imageimage

  • Ability to drive the app through the console

image

  • Including map and screen rotation

imageimage

  • CI is fully supported
  • Hybrid apps are supported through CSS selectors
About these ads

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

 
Follow

Get every new post delivered to your Inbox.

Join 182 other followers

%d bloggers like this: