Calabash

13
AUTOMATED UI TESTS Eliasz Sawicki

Transcript of Calabash

Page 1: Calabash

AUTOMATED UI TESTSEliasz Sawicki

Page 2: Calabash

CALABASH

Page 3: Calabash

WHERE IS THE PROFIT?

Page 4: Calabash

ANATOMY

• Gherkin

• Cucumber

• Calabash

Page 5: Calabash

GHERKIN

• Set of grammar rules

• Executed using cucumber framework

• Scenarios, features, steps

Page 6: Calabash

.FEATURE

Page 7: Calabash

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

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

HOW IT WORKS?

Page 10: Calabash

BUILDING TESTS

Page 11: Calabash

STEPS

Page 12: Calabash

WHY CALABASH?

• Cross platform

• Test cloud

• Easy to read

• Quick

Page 13: Calabash

TALK IS CHEAPSHOW ME THE CODE