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
470
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
550
Automating infrastructure with ruby - Tiago Macedo
danielflopes
0
520
Other Decks in Programming
See All in Programming
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
260
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
320
KubeCon NA 2024の全DB関連セッションを紹介
nnaka2992
0
100
Recoilを剥がしている話
kirik
5
7.8k
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
180
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
220
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.1k
Online-Dokumentation, die hilft: Strukturen, Prozesse, Tools
ahus1
0
110
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
130
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
710
선언형 UI에서의 상태관리
l2hyunwoo
0
240
Findy Team+ Awardを受賞したかった!ベストプラクティス応募内容をふりかえり、開発生産性向上もふりかえる / Findy Team Plus Award BestPractice and DPE Retrospective 2024
honyanya
0
120
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Designing for humans not robots
tammielis
250
25k
Producing Creativity
orderedlist
PRO
342
39k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Designing Experiences People Love
moore
139
23k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Into the Great Unknown - MozCon
thekraken
34
1.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
50k
Code Review Best Practice
trishagee
65
17k
RailsConf 2023
tenderlove
29
960
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”