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
620
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
400
Test-driven Client-side JS
phodgson
5
710
Functional Reactive JavaScript
phodgson
8
670
different.js - Forward JS 2014
phodgson
4
690
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
98
5.7k
iOS Unit Testing Workshop
phodgson
3
390
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
310
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
460
Other Decks in Programming
See All in Programming
今、知っておきたい! 生成AIエージェントの世界
elith
3
340
Elm Form Validation
bkuhlmann
0
500
オブジェクト指向のリ・オリエンテーション~歴史を振り返り、AI時代に向きなおる~
hanyudaeiiti
9
5.6k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
330
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
280
元気予報
suu_mire0726
0
850
デザインシステムで Tailwind CSSとCSS in JSに分散投資をしたら良かった話
fsubal
18
4.8k
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
420
Folding Cheat Sheet #1
philipschwarz
PRO
0
210
Netty Chicago Java User Group 2024-04-17
sullis
0
110
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
100
本格ローグライク制作にEbitengineを選んでみた
nagainaganawa
0
290
Featured
See All Featured
Bash Introduction
62gerente
604
210k
Done Done
chrislema
178
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Large-scale JavaScript Application Architecture
addyosmani
503
110k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Navigating Team Friction
lara
177
13k
Designing Experiences People Love
moore
136
23k
Atom: Resistance is Futile
akmur
258
25k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
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