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
Kyohei Kato
March 07, 2019
Technology
0
520
UI テストで楽するための技術
Kyohei Kato
March 07, 2019
Tweet
Share
More Decks by Kyohei Kato
See All by Kyohei Kato
After Party DroidKaigi 2021
ksfee684
0
590
cookpad-summer-internship-2020-android
ksfee684
0
8.2k
cookpad.apk#5
ksfee684
0
670
cookpad.apk#4
ksfee684
0
720
Testing in weekly release
ksfee684
0
870
Android における UI テスト設計戦略
ksfee684
2
1.1k
Espresso Driver を用いた Appium テストとその仕組み
ksfee684
0
6.9k
Other Decks in Technology
See All in Technology
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
5
1.1k
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
150
Kiro のクレジットを使い切る!
otanikohei2023
0
110
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
0
190
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
3
1.3k
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
30
9.1k
新職業『オーケストレーター』誕生 — エージェント10体を同時に回すAgentOps
gunta
4
1.5k
モブプログラミング再入門 ー 基本から見直す、AI時代のチーム開発の選択肢 ー / A Re-introduction of Mob Programming
takaking22
1
100
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
メタデータ同期に潜んでいた問題 〜 Cache Stampede 時の Cycle Wait を⾒つけた話
lycorptech_jp
PRO
0
150
Security Diaries of an Open Source IAM
ahus1
0
200
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Design in an AI World
tapps
0
160
Abbi's Birthday
coloredviolet
2
5.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
Producing Creativity
orderedlist
PRO
348
40k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
190
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Designing for Timeless Needs
cassininazir
0
150
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
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 実行を最適化