SlideShare a Scribd company logo
Calabash
What is Calabash?
●Calabash is a functional testing tool for
mobile apps
●It is based on Cucumber which means a
Behavior-Driven Development (BDD)
language is used to write the steps.
Cucumber?
Yes, Cucumber.
●Cucumber is the world’s most popular open
source BDD tool and it’s completely free
●Cucumber lets you express the behavior of
your app using natural language that can be
understood by business experts and non-
technical staff
Behavior Driven Development
●BDD emerged from TDD
●It is an approach to Unit Testing and
Acceptance Testing dealing with how they
are used.
●Acceptance tests should be written using
standard AGILE framework of a User Story:
●Acceptance Criteria should be written in
terms of scenarios and implemented as
classes: Given - When - Then
●Example:
Back to our pickles...
●Being based on Cucumber, Calabash uses
Gherkin, a BDD language that it
understands.
●Calabash consists of libraries that enable
test-code to programmatically interact with
native and hybrid apps. The interaction
consists of a number of end-user actions.
What can the pickles do?
Each action can be:
●Gestures: Touches or gestures (e.g., tap,
swipe and rotate).
●Assertions: For example: there should be a
"Login" button or the web view should
contain an "<h1>" element with the text
"Hello".
●Screenshots: screendump the current view
on the current device model
How does it work?
●When a Calabash test is executed both your
local computer and a device is involved.
●The device might be an emulator or an
actual physical device.
What does it need?
●Features: The feature files describe the
user-stories you want to test. One or more
features can be tested in one run.
●Example:
●Step Definitions: Calabash comes with a
set of predefined step which you can find
here.
●These steps are generic and made to get
you up and running fast.
● Sometimes, just writing steps in Gherkin language is
not enough. In that case, scripts are created for the
necessary steps to be successfully run. By default,
Ruby is the language of choice.
●Your app: you don’t have to make
modifications to your app before testing it but
for more complex scenarios where scripts
are required for the successful interpretation
of the steps it is good practice to have some
helper tags in the code.
●Instrumentation Test Server: This is
another app that will be installed and
executed on the device. It is automatically
generated and pushed to the device by the
Calabash framework.
●It provides communication between the
Calabash framework and the app that needs
to be tested.
That’s all folks!

More Related Content

What's hot (19)

PPTX
BDD WITH CUCUMBER AND JAVA
Srinivas Katakam
 
PDF
Node & Express as Workflow Tools
FITC
 
PDF
Gatling Performance Workshop
Sai Krishna
 
PDF
Interview with Issam Lahlali, one of the CppDepend tool creators
PVS-Studio
 
PDF
Integrating react in django while staying sane and happy
Fröjd Interactive
 
PDF
Webinar: How to Use Integrated Version Control in Rasa X
Rasa Technologies
 
PDF
It's all about behaviour, also in php - phpspec
Giulio De Donato
 
PDF
Presentation # 4
s1150149
 
PDF
BDD in PHP - Behat
Łukasz Kużyński
 
PDF
Capistrano @ VilniusPHP
Vidmantas Kabošis
 
PDF
DevOps Toolchain v1.0
Giragadurai Vallirajan
 
PDF
Developing for Developers
Francois Zaninotto
 
PDF
A Whale and an Elephant, when PHP meets docker
🤓 Steve McDougall
 
PPTX
Continuous Testing With Terraform
Julio Aziz Flores Casab
 
PDF
Approval Testing & Mutation Testing - Cork Software Crafters - June 2019
Paulo Clavijo
 
PPT
icebreakerwithdevops-150218112943-conversion-gate02
Manohar Kumar
 
PPTX
How volkswagen used microservices and automation to develop self service solu...
Marcos Entenza Garcia
 
PPTX
API Automation Testing Using RestAssured+Cucumber
Knoldus Inc.
 
PPT
Bdd Net Frameworks
hdgarcia
 
BDD WITH CUCUMBER AND JAVA
Srinivas Katakam
 
Node & Express as Workflow Tools
FITC
 
Gatling Performance Workshop
Sai Krishna
 
Interview with Issam Lahlali, one of the CppDepend tool creators
PVS-Studio
 
Integrating react in django while staying sane and happy
Fröjd Interactive
 
Webinar: How to Use Integrated Version Control in Rasa X
Rasa Technologies
 
It's all about behaviour, also in php - phpspec
Giulio De Donato
 
Presentation # 4
s1150149
 
BDD in PHP - Behat
Łukasz Kużyński
 
Capistrano @ VilniusPHP
Vidmantas Kabošis
 
DevOps Toolchain v1.0
Giragadurai Vallirajan
 
Developing for Developers
Francois Zaninotto
 
A Whale and an Elephant, when PHP meets docker
🤓 Steve McDougall
 
Continuous Testing With Terraform
Julio Aziz Flores Casab
 
Approval Testing & Mutation Testing - Cork Software Crafters - June 2019
Paulo Clavijo
 
icebreakerwithdevops-150218112943-conversion-gate02
Manohar Kumar
 
How volkswagen used microservices and automation to develop self service solu...
Marcos Entenza Garcia
 
API Automation Testing Using RestAssured+Cucumber
Knoldus Inc.
 
Bdd Net Frameworks
hdgarcia
 

Viewers also liked (10)

DOCX
Перелік захисних споруд цивільного захисту
mynizhyn
 
PDF
Hoe valt jouw e-mail op tussen alle andere e-mails | Suraj Sanchit
Gracious Studios
 
PDF
Програма Смаль В.
mynizhyn
 
PDF
أسوار المتحدة (2)
Dania gad
 
PDF
2015 Global-Survery-Report
Cornerstone India
 
DOCX
Đối tượng nào dễ bị rối loạn mỡ máu
jake297
 
PPTX
sdasdfgsd
Dania gad
 
PDF
Zakaria Amlal | Verhoog conversie uit e-mail met big data | Webwinkel Vakdage...
Gracious Studios
 
PDF
القوات الجوية 2
Dania gad
 
PDF
Hogere conversie door één op één communicatie op grote schaal | Zakaria Amlal
Gracious Studios
 
Перелік захисних споруд цивільного захисту
mynizhyn
 
Hoe valt jouw e-mail op tussen alle andere e-mails | Suraj Sanchit
Gracious Studios
 
Програма Смаль В.
mynizhyn
 
أسوار المتحدة (2)
Dania gad
 
2015 Global-Survery-Report
Cornerstone India
 
Đối tượng nào dễ bị rối loạn mỡ máu
jake297
 
sdasdfgsd
Dania gad
 
Zakaria Amlal | Verhoog conversie uit e-mail met big data | Webwinkel Vakdage...
Gracious Studios
 
القوات الجوية 2
Dania gad
 
Hogere conversie door één op één communicatie op grote schaal | Zakaria Amlal
Gracious Studios
 
Ad

Similar to Calabash Mobile Application Testing Overview (20)

DOCX
Calabash my understanding
FARHAN SUMBUL
 
PPT
Android testing calabash
kellinreaver
 
PDF
iOS and Android Acceptance Testing with Calabash - Xcake Dublin
roland99
 
PPTX
Cucumber - Maria Machlowska
Women in Technology Poland
 
PPTX
Test automation
Xavier Yin
 
PPTX
Testdroid:
Lingkai Shao
 
PPTX
Calabash for iPhone apps
Chathura palihakkara
 
PPTX
Cross Platform Mobile Automation with Calabash on Cloud and More
Mesut Günes
 
PPT
Calabash automated test
kellinreaver
 
PPTX
Calabash-android
Adnan8990
 
PPTX
eGo meetup - Сalabash in mobile automated testing
eGo Creative Media Solutions
 
PDF
Behavior driven development with calabash for android
Teresa Holfeld
 
PDF
Calabash Andoird + Calabash iOS
Anadea
 
PDF
Green Light for the Apps with Calaba.sh - DroidCon Paris 2014
Jean-Loup Yu
 
PPTX
Calabash
Panji Gautama
 
PPTX
I, For One, Welcome Our New Robot Overlords
Steve Malsam
 
PPTX
Mobile Cross Platform Automation in-practice and on a Large Scale
Sathish Gogineni
 
PDF
TiCalabash: Fully automated Acceptance Testing @ TiConf EU 2014
Andrew McElroy
 
PDF
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
Journal For Research
 
Calabash my understanding
FARHAN SUMBUL
 
Android testing calabash
kellinreaver
 
iOS and Android Acceptance Testing with Calabash - Xcake Dublin
roland99
 
Cucumber - Maria Machlowska
Women in Technology Poland
 
Test automation
Xavier Yin
 
Testdroid:
Lingkai Shao
 
Calabash for iPhone apps
Chathura palihakkara
 
Cross Platform Mobile Automation with Calabash on Cloud and More
Mesut Günes
 
Calabash automated test
kellinreaver
 
Calabash-android
Adnan8990
 
eGo meetup - Сalabash in mobile automated testing
eGo Creative Media Solutions
 
Behavior driven development with calabash for android
Teresa Holfeld
 
Calabash Andoird + Calabash iOS
Anadea
 
Green Light for the Apps with Calaba.sh - DroidCon Paris 2014
Jean-Loup Yu
 
Calabash
Panji Gautama
 
I, For One, Welcome Our New Robot Overlords
Steve Malsam
 
Mobile Cross Platform Automation in-practice and on a Large Scale
Sathish Gogineni
 
TiCalabash: Fully automated Acceptance Testing @ TiConf EU 2014
Andrew McElroy
 
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
Journal For Research
 
Ad

Recently uploaded (20)

PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 

Calabash Mobile Application Testing Overview

  • 2. What is Calabash? ●Calabash is a functional testing tool for mobile apps ●It is based on Cucumber which means a Behavior-Driven Development (BDD) language is used to write the steps.
  • 4. Yes, Cucumber. ●Cucumber is the world’s most popular open source BDD tool and it’s completely free ●Cucumber lets you express the behavior of your app using natural language that can be understood by business experts and non- technical staff
  • 5. Behavior Driven Development ●BDD emerged from TDD ●It is an approach to Unit Testing and Acceptance Testing dealing with how they are used. ●Acceptance tests should be written using standard AGILE framework of a User Story:
  • 6. ●Acceptance Criteria should be written in terms of scenarios and implemented as classes: Given - When - Then ●Example:
  • 7. Back to our pickles... ●Being based on Cucumber, Calabash uses Gherkin, a BDD language that it understands.
  • 8. ●Calabash consists of libraries that enable test-code to programmatically interact with native and hybrid apps. The interaction consists of a number of end-user actions. What can the pickles do?
  • 9. Each action can be: ●Gestures: Touches or gestures (e.g., tap, swipe and rotate). ●Assertions: For example: there should be a "Login" button or the web view should contain an "<h1>" element with the text "Hello". ●Screenshots: screendump the current view on the current device model
  • 10. How does it work? ●When a Calabash test is executed both your local computer and a device is involved. ●The device might be an emulator or an actual physical device.
  • 11. What does it need? ●Features: The feature files describe the user-stories you want to test. One or more features can be tested in one run. ●Example:
  • 12. ●Step Definitions: Calabash comes with a set of predefined step which you can find here. ●These steps are generic and made to get you up and running fast.
  • 13. ● Sometimes, just writing steps in Gherkin language is not enough. In that case, scripts are created for the necessary steps to be successfully run. By default, Ruby is the language of choice.
  • 14. ●Your app: you don’t have to make modifications to your app before testing it but for more complex scenarios where scripts are required for the successful interpretation of the steps it is good practice to have some helper tags in the code.
  • 15. ●Instrumentation Test Server: This is another app that will be installed and executed on the device. It is automatically generated and pushed to the device by the Calabash framework. ●It provides communication between the Calabash framework and the app that needs to be tested.

Editor's Notes

  • #8: *Gherkin is also a pickle.