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 Presentatio...
Search
Pete Hodgson
March 15, 2013
Programming
2
680
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
490
Test-driven Client-side JS
phodgson
5
760
Functional Reactive JavaScript
phodgson
8
720
different.js - Forward JS 2014
phodgson
4
750
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
102
6k
iOS Unit Testing Workshop
phodgson
3
450
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
410
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
550
Other Decks in Programming
See All in Programming
Pydantic x Database API:turu-pyの開発
yassun7010
1
550
推しの夫に恋のGPS「ときメーター」#M5Stack #IoT #M5JPTour2024
riyu
0
230
AWS Lambda Web Adapterを活用する新しいサーバーレスの実装パターン
tmokmss
6
5.9k
CSC305 Lecture 01
javiergs
PRO
1
150
ビット演算の話 / Let's play with bit operations
kaityo256
PRO
4
170
M5Stackボードの選び方
tanakamasayuki
0
210
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
0
160
.NET Aspireのクラウド対応検証: Azureと他環境での実践
ymd65536
1
400
Cloud Adoption Framework にみる組織とクラウド導入戦略
tomokusaba
2
430
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
1.2k
CSC509 Lecture 01
javiergs
PRO
1
210
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
380
Featured
See All Featured
Embracing the Ebb and Flow
colly
84
4.4k
Fireside Chat
paigeccino
32
3k
RailsConf 2023
tenderlove
28
840
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Statistics for Hackers
jakevdp
796
220k
We Have a Design System, Now What?
morganepeng
49
7.1k
Mobile First: as difficult as doing things right
swwweet
222
8.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
48k
VelocityConf: Rendering Performance Case Studies
addyosmani
324
23k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
29
1.7k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.8k
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