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
610
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
690
Automating infrastructure with ruby - Tiago Macedo
danielflopes
0
680
Other Decks in Programming
See All in Programming
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
120
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
490
What's new in AppKit on macOS 26
1024jp
0
110
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
120
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
560
Goで作る、開発・CI環境
sin392
0
240
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
540
生成AI時代のコンポーネントライブラリの作り方
touyou
1
250
すべてのコンテキストを、 ユーザー価値に変える
applism118
3
1.4k
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
270
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
240
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Practical Orchestrator
shlominoach
189
11k
A Modern Web Designer's Workflow
chriscoyier
695
190k
A Tale of Four Properties
chriscoyier
160
23k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
830
Navigating Team Friction
lara
187
15k
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”