Calabash

9
BDD-TESTING

Transcript of Calabash

Page 1: Calabash

BDD-TESTING

Page 2: Calabash

Test-Driven Development

Page 3: Calabash

TDD BDD

Test-Driven Development vs Behavior-Driven Development

Page 4: Calabash

Behavior-Driven Development• TDD done right• Business Readable, can be read almost like a sentence• Improves communication, monitoring and transparency

*https://pragprog.com/book/hwcuc/the-cucumber-book

Page 5: Calabash

Calabash?• BDD-style acceptance testing• Ruby-based• Cross platform, supporting iOS &

Android• Supported by Xamarin Test

Cloud, TestObject, AWS Device Farm, etc

Page 6: Calabash

Cucumber• Natural Language• Can be understood by business

experts and non-technical QA staff.

Page 7: Calabash

Calabash in ActionStartcalabash-android gen

Basiccalabash-android run <apkfile>.apk

Verbosecalabash-android run <apkfile>.apk -v

Generate HTML Reportscalabash-android run <apkfile>.apk --format html --out reports.html

Page 8: Calabash