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.9k
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
140
Other Decks in Programming
See All in Programming
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Italy
prof18
0
150
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
450
Discord Bot with AI -for English learners-
xin9le
1
120
事業成長を爆速で進めてきたプロダクトエンジニアたちの成功談・失敗談
nealle
3
1.4k
たのしいparse.y
ydah
3
120
Go の GC の不得意な部分を克服したい
taiyow
2
760
Recoilを剥がしている話
kirik
5
6.6k
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
200
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
talk-with-local-llm-with-web-streams-api
kbaba1001
0
170
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
200
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Building Adaptive Systems
keathley
38
2.3k
YesSQL, Process and Tooling at Scale
rocio
169
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Music & Morning Musume
bryan
46
6.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
A designer walks into a library…
pauljervisheath
204
24k
Done Done
chrislema
181
16k
How STYLIGHT went responsive
nonsquared
95
5.2k
Code Reviewing Like a Champion
maltzj
520
39k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
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