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
Automated Mobile Acceptance Testing Presentation - mdevcon 2013
Search
Pete Hodgson
March 15, 2013
Programming
2
630
Automated Mobile Acceptance Testing Presentation - mdevcon 2013
Pete Hodgson
March 15, 2013
Tweet
Share
More Decks by Pete Hodgson
See All by Pete Hodgson
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
430
Test-driven Client-side JS
phodgson
5
720
Functional Reactive JavaScript
phodgson
8
680
different.js - Forward JS 2014
phodgson
4
700
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
100
5.8k
iOS Unit Testing Workshop
phodgson
3
400
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
330
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
480
Other Decks in Programming
See All in Programming
AIで生成したものをAIでチェックしてる話
ippey
0
140
パッケージ開発論
e99h2121
1
300
Enjoy Creative Coding with Ruby (RubyKaigi2024)
chobishiba
0
4.7k
HonoのRPCで真の型安全が欲しかった
kosei28
1
210
의존성 주입과 Dagger Hilt
fornewid
0
110
Reactive Java REST APIs, FTW? Virtual JUG 2024
mraible
PRO
0
390
JS RPCを理解する
yusukebe
5
390
The Hotwire Landscape After Turbo 8 @ Helvetic Ruby 2024, Zurich
marcoroth
0
180
[RubyKaigi 2024] Ruby Mixology 101: adding shots of PHP, Elixir, and more
palkan
1
390
It’s about time to pack Ruby and Ruby scripts in one binary
ahogappa0613
1
1.3k
Hi, have you met Kotlin Multiplatform? | Kotlin User Group Berlin
prof18
1
130
Optiver参戦記&銀メダル解法
tonic
0
210
Featured
See All Featured
Design by the Numbers
sachag
274
18k
What's in a price? How to price your products and services
michaelherold
238
11k
The Brand Is Dead. Long Live the Brand.
mthomps
49
32k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
85
45k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
12
1.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
650
58k
Being A Developer After 40
akosma
67
580k
Designing the Hi-DPI Web
ddemaree
276
33k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Documentation Writing (for coders)
carmenintech
60
4k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Transcript
Automated Acceptance Testing mdevcon 2013
Pete Hodgson @ph1
None
we are hiring
None
examples are iOS same principles across platforms
Straw Poll
Straw Poll AppCode ~ or ~ XCode
Straw Poll IntelliJ ~ or ~ Eclipse
None
we all test
why do we test?
does it work?
does it still work?
does it work on ?
testing provides feedback
why don’t we test?
manual testing can be expensive
manual testing can be tedious
“Computers are designed to do simple repetitive tasks. The second
you have humans doing repetitive tasks, all the computers get together late at night and laugh at you…” - Neal Ford
so automate your tests (where it makes sense)
testing provides feedback
testing provides feedback automated better
testing provides feedback automated faster
testing provides feedback automated broader
testing provides feedback automated uniform
None
types of automated testing
Mobile App End User Backend Services
Unit Test Mobile App End User Backend Services
Mobile App End User Backend Services Integration Test
Acceptance Test Mobile App End User Backend Services
Acceptance Test Mobile App End User Backend Services The App
Acceptance Unit Integration
demo!
None
I love it! How do I do it?
iOS Frank Calabash KIF Appium UIAutomation
Android Calabash Robotium Instrumentation
Mobile Web iPhoneDriver/AndroidDriver chromedriver headless WebDriver webdriver-user-agent
None
the UI testing triad
None
select a bit o UI
select a bit o UI simulate interaction with it
select a bit o UI simulate interaction with it inspect
state o it
UI select interact inspect
UI select interact inspect
UI select interact inspect
user simulation touch(...) type_into_keyboard(...) set_orientation(...) double_tap(...) tap_and_hold(...) drag_with_initial_delay(...)
simulating gestures
UI select interact inspect
UI select interact inspect
touch(...)
touch(...) what?
None
view selectors
view selectors a little language to specify which views you
are interested in e.g. CSS or XPath
demo!
good view selectors == sustainable tests
accessibility is your best friend
record-and-playback test suites are not sustainable
UI select interact inspect
UI select interact inspect
demo!
interact inspect select UI
putting it all together
demo!
thanks. questions?
more questions? @ph1 http://blog.thepete.net
[email protected]
me, at the bar feedback:
rate.thepete.net this deck: slides.thepete.net