Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Calabash
Search
Daniel Lopes
March 28, 2014
Programming
0
700
Calabash
By Pedro Carmona from Whitesmith
Http://whitesmith.co
https://twitter.com/whitesmithco
Daniel Lopes
March 28, 2014
Tweet
Share
More Decks by Daniel Lopes
See All by Daniel Lopes
RubyMotion - Ruby for iOS
danielflopes
0
780
Automating infrastructure with ruby - Tiago Macedo
danielflopes
0
790
Other Decks in Programming
See All in Programming
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
260
EMこそClaude Codeでコード調査しよう
shibayu36
0
740
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
120
AI 時代だからこそ抑えたい「価値のある」PHP ユニットテストを書く技術 #phpconfuk / phpcon-fukuoka-2025
shogogg
1
320
自動テストのアーキテクチャとその理由ー大規模ゲーム開発の場合ー
segadevtech
2
740
ボトムアップの生成AI活用を推進する社内AIエージェント開発
aku11i
0
1.5k
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
360
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
280
AI POSにおけるLLM Observability基盤の導入 ― サイバーエージェントDXインターン成果報告
hekuchan
0
320
PHPライセンス変更の議論を通じて学ぶOSSライセンスの基礎
matsuo_atsushi
0
120
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
640
Blazing Fast UI Development with Compose Hot Reload (Bangladesh KUG, October 2025)
zsmb
2
490
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
650
The Language of Interfaces
destraynor
162
25k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Documentation Writing (for coders)
carmenintech
76
5.1k
Designing for Performance
lara
610
69k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
A Tale of Four Properties
chriscoyier
161
23k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Transcript
Calabash Pedro Carmona - Whitesmith Coimbra.rb 21 de Março de
2014
Testing • Unit (scope: object) • Integration (scope: system) •
Acceptance - Customers are responsible for verifying the correctness of the acceptance tests
Test Driven Development ! • From red to green Image
http://4.bp.blogspot.com/_9kQQgQD35rY/SaV5p8YBGhI/AAAAAAAAAkg/HOvlhIo7yGI/s1600-h/06_Red_Green_Refactor.JPG
Behavior Driven Development • Purpose: Question the App behavior before
and during development. • From red to green + natural language
BDD reasons • Strengthen the collaboration of managers, developers and
clients. • Developers know what use cases and scenarios the tests must cover. • Code easier to maintain.
Cucumber • Ruby gem for Behavior Driven Development. • Very
readable, maintainable and elegant. • DSL - Gherkin
Calabash • Acceptance and funcional automated tests. • Port Cucumber
to mobile development. • Developed by Less Painful (acquired by Xamarin in March 2013)
DSL Gherkin Feature: In order to <goal> As an <actor>
I want to <interaction> Scenarios: Given <initial context> When <event happens> Then <assert result>
Demo calabash + android
- Gregg Rothmeier , bignerdranch.com “Tools don’t make bad tests,
developers do”