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
410
Test-driven Client-side JS
phodgson
5
710
Functional Reactive JavaScript
phodgson
8
670
different.js - Forward JS 2014
phodgson
4
700
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
100
5.7k
iOS Unit Testing Workshop
phodgson
3
400
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
320
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
470
Other Decks in Programming
See All in Programming
PostmanでAPIの動作確認が楽になった話
h455h1
0
190
Go製Webアプリケーションのエラーとの向き合い方大全、あるいはやっぱりスタックトレース欲しいやん / Kyoto.go #50
utgwkk
6
1.9k
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
690
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1.1k
SIMD Parallel Programming with the Vector API
josepaumard
0
240
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1.1k
Folding Cheat Sheet #4
philipschwarz
PRO
0
100
Going beyond Apache Parquet's default settings
xhochy
0
140
Elm Form Validation
bkuhlmann
0
520
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
140
Elm 0.19.0 Changes
bkuhlmann
0
510
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
6
1.3k
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
The Cost Of JavaScript in 2023
addyosmani
21
3.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
What's new in Ruby 2.0
geeforr
337
31k
Typedesign – Prime Four
hannesfritz
36
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Building Applications with DynamoDB
mza
88
5.6k
Navigating Team Friction
lara
179
13k
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