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
10k
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
310
GitHubの新機能とGHESのリリースノートの対応をまとめ続けている話
kesin11
0
140
CircleCIでLayer Cachingを使わずにdocker buildを高速化する
kesin11
3
2.1k
CI/CDのボトルネックを把握できていますか?BigQueryでビルド情報ダッシュボードを構築した話
kesin11
7
9.9k
TypeScriptから使いやすいFirestore-simpleを紹介します(2020年版)
kesin11
3
2k
GitHub Actionsが他のCIサービスと比較してできることできないこと
kesin11
1
1.6k
iOSアプリのリジェクトリスクを早期に発見するための取り組み
kesin11
4
17k
BitriseでFastlane/Gradleプラグインの統合テスト
kesin11
0
3.2k
Firebase Test Labの紹介
kesin11
4
1.5k
Other Decks in Technology
See All in Technology
原則から考える保守しやすいComposable関数設計
moriatsushi
3
470
Tensix Core アーキテクチャ解説
tenstorrent_japan
0
360
新卒3年目の後悔〜機械学習モデルジョブの運用を頑張った話〜
kameitomohiro
0
340
Autonomous Database サービス・アップデート (FY25)
oracle4engineer
PRO
2
780
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
50
30k
Uniadex__公開版_20250617-AIxIoTビジネス共創ラボ_ツナガルチカラ_.pdf
iotcomjpadmin
0
110
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
3
1k
「実体」で築く共通認識: 開発現場のコミュニケーション最適化 / Let's Get on the Same Page with Concrete Artifacts: Optimization of Communication in dev teams
kazizi55
0
150
ObsidianをMCP連携させてみる
ttnyt8701
2
130
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
0
640
Amazon Q Developer for GitHubとAmplify Hosting でサクッとデジタル名刺を作ってみた
kmiya84377
0
3.5k
CSS、JSをHTMLテンプレートにまとめるフロントエンド戦略
d120145
0
120
Featured
See All Featured
Visualization
eitanlees
146
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
480
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Agile that works and the tools we love
rasmusluckow
329
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
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