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
Android Testing Bootcamp #2: OpenSTF
Search
Gunther Brunner
June 09, 2016
Programming
1
1.3k
Android Testing Bootcamp #2: OpenSTF
OpenSTFを紹介します
Gunther Brunner
June 09, 2016
Tweet
Share
More Decks by Gunther Brunner
See All by Gunther Brunner
Feature FlagsのDX/UXの 頂点「 DevCycle 」に 辿り着くまでの道のり
gunta
5
1.3k
OpenSaaS Studio - 強いSaaSを作り続けるOpenSaaS Studioの挑戦
gunta
3
2.8k
OpenSTF @ Test Engineers' Meetup #3
gunta
1
1.2k
Chrome Tech Night 8 - STF
gunta
0
140
CAOS 2015 Summer: Introducing Hayabusa
gunta
0
940
CAOS 2015 Summer: Introducing STF (Smartphone Test Farm)
gunta
1
1.6k
CAOS 2015 Summer: Hayabusa Internals
gunta
0
760
画像変換Night「ImageHayabusa」デザイン作業効率化
gunta
6
12k
Are mobile HTML5 3D apps possible right now?
gunta
0
130
Other Decks in Programming
See All in Programming
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
580
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
Arm移行タイムアタック
qnighy
0
310
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
520
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
役立つログに取り組もう
irof
28
9.6k
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
610
Jakarta EE meets AI
ivargrimstad
0
120
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Visualization
eitanlees
145
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
Gunther Brunnerʢάϯλɾϒϧϯφʔʣ @gunta85
εϚʔτϑΥϯɾςετɾϑΝʔϜ
࣮ػϦϞʔτૢ࡞ ϒϥβ͔ΒϥΫϥΫૢ࡞
࣮ػϦϞʔτૢ࡞ ϒϥβ͔ΒϥΫϥΫૢ࡞
ػೳ
URLϒϥδϯά • ͲͷϒϥβͰURLΛ ೖྗ͠ͳ͕ΒαΠτ֬ೝ • Πϯετʔϧ͞Ε͍ͯΔϒϥ βҰͷϦετϦΞϧλΠϜऔಘ
Ωϟϓνϟ • ੩ࢭըͷΩϟϓνϟ • ϦΞϧλΠϜϦαΠζ • ΩϟϓνϟͷURLγΣΞ
ΞϓϦΞοϓϩʔυ • APKϑΝΠϧΛ؆୯ʹ υϥοάˍυϩοϓ • ଈ࣌ΞοϓϩʔυˍΠϯετʔϧ • ىಈ͍ͨ͠ΞΫςΟϏςΟͷબ
ίϐʔˍϖʔετ • ࣮ػ㲗ύιίϯͷ ίϐʔˍϖʔετ • ϚϧνݴޠରԠ
ΞϓϦγϣʔτΧοτ • Α͘ΘΕ͍ͯΔ γϣʔτΧοτ
ϦϞʔτσόοά • ࣗͷύιίϯʹܨ͕͍ͬͯΔ͔ ͷΑ͏ʹϦϞʔτσόοά͕Մೳ • Android StudioɺEclipseରԠ • Chrome DevToolsFirefoxɺ
ADBͱଓՄೳͳͷશͯରԠ
࣮ػࣸਅ • ࣮ػͷ࣮ࣸਅͷ֬ೝ
ϚφʔϞʔυ • ϚφʔϞʔυઃఆͷมߋ
ετΞϩάΠϯࣗಈԽ • άʔάϧϓϨΠʹϩάΠϯ <։ൃதػೳ>
ϦΞϧλΠϜϩά • Logcatͷϩάදࣔ • ϦΞϧλΠϜϑΟϧλϦϯά
ݕࡧ • ϝʔΧʔɺOSόʔδϣϯɺ ൃചͳͲͷ࣮ػݕࡧ͕Մೳ
ߴͳೖྗ • ϋʔυΩʔͷԕִૢ࡞ • ిݯϘλϯɺԻྔɺ ϝσΟΞΩʔɺD-PadΩʔ
ϋʔυΣΞৄࡉ • ϋʔυΣΞͷεϖοΫৄࡉ • όοςϦʔ݈߁ঢ়ଶɺԹɺి ѹɺΩϟϦΞɺి൪߸ɺσΟε ϓϨΠɺωοτϫʔΫɺOSৄࡉ
࣮ػ࠶ىಈ • ϦϞʔτ࠶ىಈ
Ϧόʔεϙʔτ ϑΥϫʔσΟϯά • ϩʔΧϧαʔόʔͷαΠτ֬ೝ
ϚϧνݴޠରԠUI • ຊޠ • ӳޠ • ϑϥϯεޠ • εϖΠϯޠ •
ϙʔϥϯυޠ • தࠃޠ • ؖࠃޠ • ϩγΞޠ
ϚϧνσόΠεૢ࡞
εϚϗ͔ΒͰ ԕִૢ࡞ • AndroidΛผͷεϚϗ͔Βૢ࡞ • ϚϧνλονରԠ
100% Apache 2.0 ϥΠηϯε https://openstf.io
ಋೖࣄྫ ίϛοτߩݙ
ಋೖࣄྫ ΦϯϓϨϛεͰಈͨ͘Ί ڞ࢈ओٛࠃՈͰಛʹਓؾ
ΦϯϓϨϛε൛ͷཱ • USBϋϒΛߪೖ • ख࣋ͪͷAndroid࣮ػΛܨ͙
αʔόʔΈཱͯ Android 28ରԠ PCαʔόʔ 1 USBϋϒ 4 USBέʔϒϧ 28ຊ
RaspberryͷΑ͏ͳখܕPC Android 3ରԠ খܕPC 1 USBϋϒ ແ͠ USBέʔϒϧ 3ຊ
STF σόΠεϥοΫ
• Android 2.3.3 ~ 6.0.1 • Android N Preview 3
• Android Wear ~5.1 • FireOSɺMIUIɺCyanogenMod • ROOTෆཁ ରԠOSʢ࣮ػʣ
ରԠϒϥβʢΫϥΠΞϯτʣ • Google Chrome (σεΫτοϓ൛ɾϞόΠϧ൛) • Safari (σεΫτοϓ൛ɾϞόΠϧ൛) • Mozilla
Firefox • Internet Explorer • Opera
ରԠOSʢαʔόʔʣ • CoreOSʢਪʣ • BSDɺLinux • Mac OS X
STFͷΠϯετʔϧ ϢʔβΠϯετʔϧෆཁ
ϩʔΧϧͰΠϯετʔϧ (Mac OS X) • ADBΛΠϯετʔϧ • ґଘؔΛΠϯετʔϧ • STFΛΠϯετʔϧ
brew install node rethinkdb graphicsmagick zeromq protobuf npm install -g stf Android SDK Tools / Android Studioʹؚ·Ε͍ͯΔ
ϩʔΧϧͰ࣮ߦ • σʔλϕʔεΛ࣮ߦ • STFΛ࣮ߦ stf local rethinkdb
LANͰ࣮ߦ (؆қ൛) • σʔλϕʔεΛ࣮ߦ • STFΛ࣮ߦ • ྫɿPCͷIP192.168.0.1ͷ߹ɺ ଞͷPChttp://192.168.0.1:7100 ͔ΒΞΫηεՄೳ
stf local —-public-ip 192.168.0.1 rethinkdb
STF V2 ۙϦϦʔε • STFͷ৽ػೳɹϒϥϯν2.0.0 • ࣗಈςετͰͷར༻ɿREST APIΛՃ • ͷεςʔλεʢར༻தɾΦϑϥΠϯʣ͕औಘɾมߋՄೳ
• ͷใʢOSɾϞσϧʣ͕औಘՄೳ
STF V2 ۙϦϦʔε
STF V2 ۙϦϦʔε
ࣗಈԽ • جຊతʹOpenSTF + Jenkins + Appium + Docker •
JUnit4ɺRoboelectricɺEspressoɺUI Automatorɺ RobotiumɺeggPlantOK
ଞͷπʔϧΑΓ༏Ε͍ͯΔϙΠϯτ • ͍͍͢UI / UX • ը໘సૹ͕ૣ͍ʢ30fpsʙ60fpsʣ • Ϩεϙϯεૢ࡞͕ૣ͍ •
ศརͳػೳ͕ͨ͘͞Μࡌ͞Ε͍ͯΔ • Φʔϓϯιʔεɾແঈ • ϓϥΠϕʔτΫϥυɾΦϯϓϨϛεͰར༻Մೳ
ଞͷπʔϧΑΓ༏Ε͍ͯΔϙΠϯτ • શΦʔϓϯιʔε • ৴པੑɿ੬ऑੑόάͷमਖ਼୭Ͱ֬ೝ͕Ͱ͖ɺ͍ͪૣ͘मਖ਼͕Մೳɻ • ҆ఆੑɿݩͷ߹ʢ࢈ɺଧͪΓʣʹΑΔফ໓͕ଘࡏ͠ͳ͍ɻ ϝϯςφϯεͷܧଓ͕Մೳɻظతͷ҆ఆͯ͠ར༻ɻ • ࢹೳྗɿୈࡾऀػؔʹࠪΛґཔ͢Δࣄ͕Մೳɻ
• ॊೈੑͱࣗ༝ɿطଘγεςϜͱͷ࿈ܞ৽͍͠ػೳͷՃͳͲɺ ॾʑมԽ͢Δࣄʹରͯ͠ॊೈରԠɻ • ίετɿແঈɻγεςϜಋೖϥΠηϯεͷ૯߹తͳίετݮɻ • αϙʔτɿGitHub Issuesͱϝʔϧʹͯɻ
αϙʔτʢຊޠɾӳޠʣ • GitHub Issues https://github.com/openstf/stf/issues ίϛϡχςΟαϙʔτ ๏ਓ͚αϙʔτ • ϝʔϧ
[email protected]
https://openstf.io