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
iOSシミュレータでのUIテストの様子を録画してみよう
Search
Kenta Kase
December 05, 2017
Technology
0
9.7k
iOSシミュレータでのUIテストの様子を録画してみよう
iOS Test Night #6のLT発表資料です
Kenta Kase
December 05, 2017
Tweet
Share
More Decks by Kenta Kase
See All by Kenta Kase
GitHub Actionsオタクによるセルフホストランナーのアーキテクチャ解説
kesin11
0
200
GitHubの新機能とGHESのリリースノートの対応をまとめ続けている話
kesin11
0
96
CircleCIでLayer Cachingを使わずにdocker buildを高速化する
kesin11
3
1.8k
CI/CDのボトルネックを把握できていますか?BigQueryでビルド情報ダッシュボードを構築した話
kesin11
7
9.6k
TypeScriptから使いやすいFirestore-simpleを紹介します(2020年版)
kesin11
3
1.9k
GitHub Actionsが他のCIサービスと比較してできることできないこと
kesin11
1
1.3k
iOSアプリのリジェクトリスクを早期に発見するための取り組み
kesin11
4
16k
BitriseでFastlane/Gradleプラグインの統合テスト
kesin11
0
3k
Firebase Test Labの紹介
kesin11
5
1.4k
Other Decks in Technology
See All in Technology
Scaling Technical Excellence at 104: Evolution in AWS and Developer Empowerment
scotthsieh825
1
150
【基調講演】変える、今ここから ― IoTとAIで紡ぐ未来
soracom
PRO
0
310
年間一億円削減した時系列データベースのアーキテクチャ改善~不確実性の高いプロジェクトへの挑戦~
lycorptech_jp
PRO
3
2.9k
Matterport を使ってクラスメソッド各拠点のバーチャルオフィスツアーを作成してみた
wakatsuki
0
160
技術負債による事業の失敗はなぜ起こるのか / Why do business failures due to technical debt occur?
i35_267
0
190
テスト・設計研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
170
成長期に歩みを止めないための創業期の開発文化形成
mayah
6
420
ギークの理想が7つ集まるエムスリーで夢を叶えよう - エムスリー株式会社
m3_engineering
1
260
ABEMAにおけるLLMを用いたコンテンツベース推薦システム導入と効果検証
cyberagentdevelopers
PRO
1
700
ここがすごいよ! AWS Systems Manager!
saichan11
0
1.8k
20240717_イケコパ代表Copilot_in_Teams会社でこう使ってます
ponponmikankan
2
430
累計ダウンロード数1億8000万を超えるアプリケーションプラットフォームのレガシーシステム脱却とモダン化への道
kmitsuhashi
0
120
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
46
7k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
26
2.1k
YesSQL, Process and Tooling at Scale
rocio
166
14k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
What the flash - Photography Introduction
edds
65
11k
The Invisible Customer
myddelton
117
13k
The Power of CSS Pseudo Elements
geoffreycrofte
64
5.2k
Speed Design
sergeychernyshev
9
270
Faster Mobile Websites
deanohume
303
30k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
Transcript
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. iOS Test Night
#6 2017/12/05(Tue) Ճ݈ଠ@DeNA iOSγϛϡϨʔλͰͷ UIςετͷ༷ࢠΛըͯ͠ΈΑ͏ 1
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ࣗݾհ w Ճ݈ଠʢ!,FTJOʣ
⁃ ॴଐ • %F/"48&5άϧʔϓςετج൫νʔϜ ⁃ ܦྺ • ϞόΠϧήʔϜ։ൃʢαʔόʔαΠυʣ • ݄͔Β48&5άϧʔϓ 2
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. "QQJVNΛͬͨ 6*ςετʹ৮ΕͯΈͨײ 3
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͕͔͔࣌ؒΔ 4
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ςετམͪͨͱ͖ʹεΫγϣݟͯΑ͔͘Βͳ͍ 5 w
݁ہςετ͕࣮ߦ͞ΕΔ༷ࢠΛ؍͢Δඞཁ͕͋Δ ࣮ࡍ ຊདྷظ͢Δͷ ͳ͔ͥϑΥʔϜ͕දࣔ͞Ε͍ͯͳ͍
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. Կͱ͔ը͍ͨ͠ 6
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. 2VJDL5JNFͰը 7 w
ҰԠՄೳͰ͋Δ͕ w $6*͔Β͑ͳ͍ͷͰෆศ
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. γϛϡϨʔλͷը໘Λը͢Δ ίϚϯυ͕͋ΔΒ͍͠ 8
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. recordVideo w xcrun
simctl io booted recordVideo ./test.mov w ىಈ͍ͯ͠ΔγϛϡϨʔλͷը໘Λըͯ͘͠ΕΔ w $USM DͰըऴྃ w ෳࡶͳ͜ͱͰ͖ͳ͍ w ςετͷ։࢝ͱऴྃʹ߹ΘͤͯίϚϯυΛ࣮ߦ͢Ε ࣗಈԽͰ͖ͦ͏ 9 ಈ࡞֬ೝXcode 9.1 XcodeͷϦϦʔεϊʔτʹΑΔͱ8.2͔ΒՃ͞ΕͨΑ͏Ͱ͢ h-ps://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/IntroducDon.html#//apple_ref/doc/uid/ TP40001051-CH1-SW9
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ॻ͍ͯΈ·ͨ͠ w ςετ։࢝લʹrecordVideoΛόοΫάϥϯυͰ࣮ߦ
w ϓϩηε*%Λอଘ͓ͯ͘͠ w ςετऴྃޙʹ4*(*/5ʢDUSM DʣΛ࣮ߦͯ͠ըऴྃ 10 # recordVideoΛόοΫάϥϯυͰ࣮ߦ xcrun simctl io booted recordVideo screenshots/test.mov & # ϓϩηεIDΛอଘ PID=`echo $!` # ςετ࣮ߦ bundle exec rspec spec/scenario_test.rb # όοΫάϥϯυͷrecordVideoʹSIGINTγάφϧΛૹ৴ kill -2 $PID
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. Ͱ͖ͨ 11
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ͬͱศརʹ͍ͨ͠ w γϛϡϨʔλͷσόΠεJ04ͷόʔδϣϯΛࢦఆ͍ͨ͠
⁃ xcrun simctl io booted recordVideo ./test.mov ⁃ bootedىಈ͍ͯ͠ΔγϛϡϨʔλͱ͍͏ҙຯ ⁃ ෳͷγϛϡϨʔλ͕ىಈ͍ͯ͠Δ߹ʹը͢ΔγϛϡϨʔλΛࢦ ఆ͍ͨ͠ w ςετέʔεຖʹಈըΛׂ͍ͨ͠ w ࣦഊͨ͠ςετέʔε͚ͩಈըΛ͍ͨ͠ 12
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ॻ͍ͯΈ·ͨ͠WFS̎ w HJTU
⁃ HPPHM;6W/4 ⁃ "QQJVN SVCZ STQFDΛఆ w ը͢ΔγϛϡϨʔλΛɺJ04όʔδϣϯͰࢦఆ ⁃ capabilityͷdeviceName, platformVersion ⁃ xcrun simctl listͰγϛϡϨʔλͷ6%*%Λಛఆ w before(:each) after(:each)Ͱըͷ։࢝ɺऴྃ w ࣦഊͨ͠߹͚ͩಈըΛ͢ 13
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. σϞ 14 εΫγϣ
ಈը
Copyright (C) DeNA Co.,Ltd. All Rights Reserved. ·ͱΊ w γϛϡϨʔλͰͷ6*ςετͷ༷ࢠΛը͢Δํ๏Λհ
⁃ xcrun simctl io booted recordVideoศར ⁃ recordVideoࣗମAppiumrubyʹґଘ͍ͯ͠ͳ͍ͷͰɺ ৭ʑͳ͍ํ͕Ͱ͖ͦ͏ w HJTU ⁃ HPPHM;6W/4 15