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
810
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
900
Automating infrastructure with ruby - Tiago Macedo
danielflopes
0
910
Other Decks in Programming
See All in Programming
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
220
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
400
条件判定に名前、つけてますか? #phperkaigi #c
77web
1
330
Docコメントで始める簡単ガードレール
keisukeikeda
1
130
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
0
130
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
480
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
280
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
140
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
650
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
330
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
570
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
How to Ace a Technical Interview
jacobian
281
24k
Skip the Path - Find Your Career Trail
mkilby
1
86
RailsConf 2023
tenderlove
30
1.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
The Cult of Friendly URLs
andyhume
79
6.8k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
52k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Producing Creativity
orderedlist
PRO
348
40k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Limits of Empathy - UXLibs8
cassininazir
1
270
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”