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
UI テストで楽するための技術
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kyohei Kato
March 07, 2019
Technology
530
0
Share
UI テストで楽するための技術
Kyohei Kato
March 07, 2019
More Decks by Kyohei Kato
See All by Kyohei Kato
After Party DroidKaigi 2021
ksfee684
0
600
cookpad-summer-internship-2020-android
ksfee684
0
8.2k
cookpad.apk#5
ksfee684
0
680
cookpad.apk#4
ksfee684
0
720
Testing in weekly release
ksfee684
0
880
Android における UI テスト設計戦略
ksfee684
2
1.1k
Espresso Driver を用いた Appium テストとその仕組み
ksfee684
0
6.9k
Other Decks in Technology
See All in Technology
AI 時代の Platform Engineering
recruitengineers
PRO
1
180
Terragrunt x Snowflake + dbt で作るマルチテナントなデータ基盤構築プラットフォーム
gak_t12
0
130
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
250
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
5
1.3k
Purview Endpoint DLP 動かしてみた
kozakigh
0
390
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
210
そのSLO 99.9%、本当に必要ですか? 〜優先度付きSLOによる責任共有の設計思想〜 / Is that 99.9% SLO really necessary? Design philosophy of shared responsibility through prioritized SLOs
vtryo
0
700
"うちにはまだ早い"は本当? ─ 小さく始めるPlatform Engineering入門
harukasakihara
6
550
20260515 OpenIDファウンデーション・ジャパンご紹介
oidfj
0
100
AWS運用におけるAI Agent活用術 / JAWS-UG 神戸 #11 LT大会
genda
1
170
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
6
950
freeeで運用しているAIQAについて
qatonchan
1
590
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
Information Architects: The Missing Link in Design Systems
soysaucechin
0
920
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
520
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
300
Become a Pro
speakerdeck
PRO
31
5.9k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
420
Transcript
UI テストで楽するための技術 Android Test Night #6
自己紹介 •加藤 恭平 ‣クックパッド株式会社 ‣Android が主 ‣twitter: @ksfee684
UI テスト構築やっていますか?
UI テストは大変 •実行環境構築が大変 •実行時間がかかって大変 •実行結果の確認が大変 •依存が多くて大変 •実装が大変
None
楽をしてやっていきたい
UI テストで楽するための技術
楽するためにやっていること •実装が大変 •実行結果の確認が大変 •依存が多くて大変
楽するためにやっていること •実装が大変 ‣ →テストケースを DSL で •実行結果の確認が大変 ‣ →テスト実行結果をわかりやすく •依存が多くて大変
‣ →ネットワーク依存をなくす
テストケースを DSL で IUUQTTQFBLFSEFDLDPNLTGFFBOESPJEOJPLFSVVJUFTVUPTIFKJ[IBOMVF
テスト結果をわかりやすく •StackTrace だけでは状況が確認できない場合も
テスト結果をわかりやすく •Composer ‣ Instrument Test 実行管理 ( Spoon の後継 )
‣ ログとスクリーンショットを合わせたレポートを提供 ‣ https://github.com/gojuno/composer
Composer
Composer
ネットワーク依存をなくす •OkReplay ‣ OkHttp の通信を Record & Replay ‣ レスポンスデータの管理を楽に
‣ https://github.com/airbnb/okreplay
大変なことはまだまだ •動的なリクエストをどう対応するか? •CI 実行を最適化