start-up • Engineer at Trifork 2006-2012, iOS, JavaScript, Ruby, Java • Father of one • Clojure and Rich Hickey FanBoi • Co-maintainer of Calabash torsdag den 4. april 13
BBD-style acceptance testing with Calabash • Live Demo: Testing a RubyMotion app • Easy Install, Scaffold and Run using ‘motion-calabash’ gem • More complex test + running on devices • Q & A torsdag den 4. april 13
an application by describing its behaviour from the perspective of its stakeholders” - Dan North • “Outside-in” • Business-readable specfications - shared language • Can be used to drive automated acceptance tests torsdag den 4. april 13
in and manage my WordPress blogs. Scenario: Invalid login Given I am about to login When I enter invalid credentials Then I am presented with an error stating to try again Scenario: Login with wordpres.com credentials ... Example torsdag den 4. april 13
https://github.com/calabash/calabash-android • Calabash iOS: https://github.com/calabash/calabash-ios • Managed by LessPainful, but Open-Source, Open to contribution and Free (Eclipse Public License) • Written in Objective C, Java and Ruby (and Clojure) • Test written in Ruby but other languages are easy to add. torsdag den 4. april 13
apps (and Android too!) • BDD via the Cucumber tool • Full support for running on physical devices as well as simulators. • RubyMotion integration: require ‘motion-calabash’ • Value-added options via LessPainful • training, support, device labs torsdag den 4. april 13
and Q&A :) • https://github.com/krukow/motion-calabash-inspect2013 • Demo using the RM sample app: ‘Beers’ app • Open source and simple • Hybrid app (some content displayed in web views) • Backend server (wikipedia) • Gestures like pinch, tap, etc... torsdag den 4. april 13