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
ひっそりJetpack似追加されていたAppCrawlertoolの紹介 / Introduce Jetpack App Crawler Tool
Search
tkmnzm
August 01, 2019
Programming
1
1k
ひっそりJetpack似追加されていたAppCrawlertoolの紹介 / Introduce Jetpack App Crawler Tool
tkmnzm
August 01, 2019
Tweet
Share
More Decks by tkmnzm
See All by tkmnzm
Androidアプリの良いユニットテストを考える / Thinking about good unit tests for Android apps
tkmnzm
5
5.8k
Google I:O 2023 Androidの自動テストアップデートまとめ / Google I:O 2023 Android Testing Update Recap
tkmnzm
0
510
コルーチンのエラーをテストするためのTips / Tips for testing Kotlin Coroutine errors
tkmnzm
0
620
Androidのモダンな技術選択にあわせて自動テストも アップデートしよう / Update your automated tests to match Android's modern technology choices
tkmnzm
2
1.8k
SWET dev-vitalチームによるプロジェクトの健康状態可視化の取り組み / SWET dev-vital team's efforts to visualize the health of the project
tkmnzm
1
1.1k
モバイルアプリテスト入門 / Getting Started with Mobile App Testing
tkmnzm
1
360
25分で作るAndroid Lint / Android Lint made in 25 minutes
tkmnzm
0
800
2年半ぶりのプロダクト開発であらためて感じた自動テストの大切さ / realized the importance of automatic testing with product development for the first time in two and a half years
tkmnzm
1
680
Android スクリーンショットテスト 3つのプロダクトに導入する中で倒してきた課題 / Android Screenshot Test Problems solved by introducing into 3 products
tkmnzm
2
1.1k
Other Decks in Programming
See All in Programming
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
130
Apache Hive 4 on Treasure Data
ryukobayashi
1
430
Ruby Function Composition
bkuhlmann
1
340
Fast JSX: Don't clone props object #28768
yossydev
1
190
Elm Form Validation
bkuhlmann
0
520
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
100
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
禅の心を手に入れよ
eltociear
1
390
Elm 0.19.0 Changes
bkuhlmann
0
510
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1.1k
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
420
Let's learn code review
riofujimon
2
590
Featured
See All Featured
Happy Clients
brianwarren
92
6.4k
Git: the NoSQL Database
bkeepers
PRO
423
63k
Optimizing for Happiness
mojombo
370
69k
How to Ace a Technical Interview
jacobian
273
22k
What's new in Ruby 2.0
geeforr
337
31k
A Philosophy of Restraint
colly
197
16k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Building Applications with DynamoDB
mza
88
5.6k
Optimising Largest Contentful Paint
csswizardry
13
2.4k
Atom: Resistance is Futile
akmur
260
25k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The Pragmatic Product Professional
lauravandoore
26
5.8k
Transcript
ひっそりJetpackに追加されていた App Crawler toolの紹介 DeNA SWETグループ, Nozomi Takuma
Shibuya.apkのネタを探すために Android Developerを開いて見ていたら...
None
App Crawler https://developer.android.com/training/testing/crawler Use the App Crawler tool, part of
Jetpack, to automatically test your app without the need to write or maintain any code.
どんなことをしてくれる? テストコードなしで自動でUIを操作するテストを実行 実行中にクラッシュしていないかのチェックとか、画面遷移時のス クリーンショット取ってくれたり
Firebase Test LabのRobo Testでは? 多分同じ ドキュメントにもどのように動作しているかはFirebase Test Labの Robo Testのページに案内
Firebase Test LabのRobo Test アプリのUI構造を分析して、自動的に画面をクロールするテストを 実行してくれる(モンキーではない) Google Playのリリース前レポートで実行されている スクリプトを用意することで制御をいれることも可能 (ログインとか)
Firebase Test Lab以外で動くとうれしくなり そうなこと 制御スクリプトのデバッグが楽になる Firebase Test Labを使えない条件でもクローラーを実行できる Device Farmに好きなものを選べる
いまのところ想像ですが、こんな嬉しさが見えます
自動クローラーを活用したテスト 画面を起動したときにいきなりクラッシュとかしないか?みたいな スモークテスト クローラーが取得したスクリーンショットを使って差分を確認した り、目視でデザインを確認したり
デモ googlesamples/android‑sunflowerで実行 https://github.com/googlesamples/android‑sunflower
Summary いつのまにかJetpackにApp Crawler toolが追加されていた 自動クローラーがFirebase Test Lab以外でも実行できる 自動クローラーを活用したテストがもっと開発フローの中で利用さ れるようになるかも