Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOSシミュレータでのUIテストの様子を録画してみよう
Search
Kenta Kase
December 05, 2017
Technology
11k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOSシミュレータでのUIテストの様子を録画してみよう
iOS Test Night #6のLT発表資料です
Kenta Kase
December 05, 2017
More Decks by Kenta Kase
See All by Kenta Kase
GitHub Actionsオタクによるセルフホストランナーのアーキテクチャ解説
kesin11
0
430
GitHubの新機能とGHESのリリースノートの対応をまとめ続けている話
kesin11
0
210
CircleCIでLayer Cachingを使わずにdocker buildを高速化する
kesin11
3
2.3k
CI/CDのボトルネックを把握できていますか?BigQueryでビルド情報ダッシュボードを構築した話
kesin11
7
11k
TypeScriptから使いやすいFirestore-simpleを紹介します(2020年版)
kesin11
3
2.2k
GitHub Actionsが他のCIサービスと比較してできることできないこと
kesin11
1
1.8k
iOSアプリのリジェクトリスクを早期に発見するための取り組み
kesin11
4
18k
BitriseでFastlane/Gradleプラグインの統合テスト
kesin11
0
3.5k
Firebase Test Labの紹介
kesin11
4
1.6k
Other Decks in Technology
See All in Technology
Running Kotlin + Quarkus with Lambda
nealle
1
470
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
180
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
210
遠藤な_めぐろLT #38 「社内のAI活用推進」@麻布台_20261009
endonanana
0
120
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
5
1.3k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
1
250
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
120
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
470
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
330
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
420
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
880
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Practical Orchestrator
shlominoach
192
12k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Docker and Python
trallard
47
4.2k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
490
Abbi's Birthday
coloredviolet
4
10k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
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