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
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
550
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
790
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.7k
return文におけるstd::moveについて
onihusube
1
1.2k
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
850
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
Recoilを剥がしている話
kirik
5
6.8k
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
190
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
From Translations to Multi Dimension Entities
alexanderschranz
2
130
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Designing Experiences People Love
moore
138
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
RailsConf 2023
tenderlove
29
940
Embracing the Ebb and Flow
colly
84
4.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
520
Thoughts on Productivity
jonyablonski
67
4.4k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Gamification - CAS2011
davidbonilla
80
5.1k
Facilitating Awesome Meetings
lara
50
6.1k
Faster Mobile Websites
deanohume
305
30k
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