calabash
TRANSCRIPT
![Page 1: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/1.jpg)
AUTOMATED UI TESTSEliasz Sawicki
![Page 2: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/2.jpg)
CALABASH
![Page 3: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/3.jpg)
WHERE IS THE PROFIT?
![Page 4: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/4.jpg)
ANATOMY
• Gherkin
• Cucumber
• Calabash
![Page 5: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/5.jpg)
GHERKIN
• Set of grammar rules
• Executed using cucumber framework
• Scenarios, features, steps
![Page 6: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/6.jpg)
.FEATURE
![Page 7: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/7.jpg)
CUCUMBER
• Framework that actually runs the tests
• Requires an Automation Library that plugs in and allows Cucumber to execute on a particular platform or technology
![Page 8: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/8.jpg)
CALABASH
• Bridge allowing Cucumber tests to run and validate on iOS and Android
• Query language to locate and interact with objects on the screen
![Page 9: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/9.jpg)
HOW IT WORKS?
![Page 10: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/10.jpg)
BUILDING TESTS
![Page 11: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/11.jpg)
STEPS
![Page 12: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/12.jpg)
WHY CALABASH?
• Cross platform
• Test cloud
• Easy to read
• Quick
![Page 13: Calabash](https://reader035.vdocuments.us/reader035/viewer/2022070603/58729eda1a28ab07208b54c9/html5/thumbnails/13.jpg)
TALK IS CHEAPSHOW ME THE CODE