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
770
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
860
Automating infrastructure with ruby - Tiago Macedo
danielflopes
0
870
Other Decks in Programming
See All in Programming
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
dchart: charts from deck markup
ajstarks
3
990
CSC307 Lecture 09
javiergs
PRO
1
830
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
480
Grafana:建立系統全知視角的捷徑
blueswen
0
320
CSC307 Lecture 02
javiergs
PRO
1
770
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.9k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
890
Patterns of Patterns
denyspoltorak
0
1.4k
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Why Our Code Smells
bkeepers
PRO
340
58k
Statistics for Hackers
jakevdp
799
230k
Utilizing Notion as your number one productivity tool
mfonobong
2
210
We Have a Design System, Now What?
morganepeng
54
8k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
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”