Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scalable UI testing solutions かんたんまとめ

Avatar for mkeeda mkeeda
June 02, 2023

Scalable UI testing solutions かんたんまとめ

Google I/O 2023のセッション「Scalable UI testing solutions」の内容をまとめたスライドです
https://www.youtube.com/watch?v=L6CSaH0kDnI

Avatar for mkeeda

mkeeda

June 02, 2023
Tweet

More Decks by mkeeda

Other Decks in Programming

Transcript

  1. Summary Espresso Device API Firebase Test Lab 
 with Gradle

    Managed Devices Compose Screenshot Test 2 https://www.youtube.com/watch?v=L 6 CSaH 0 kDnI
  2. Con fi guration Change Con fi guration Change Android Emulator

    33 . 1 . 10 Android Gradle Plugin 8 . 2 . 0 -alpha 04 https://developer.android.com/studio/preview/features#espresso- device-api androidx.test.espresso:espresso-device 5
  3. 6

  4. 8 Gradle Managed Devices Gradle AndroidTest 
 AVD /CI AGP

    8 . 2 . 0 -alpha 01 
 Firebase Test Lab
  5. 10 $ gcloud auth login $ gcloud config set project

    PROJECT_ID $ ./gradlew assembleDebugAndroidTest $ gcloud firebase test android run \ --type instrumentation \ --app app-debug-unaligned.apk \ --test app-debug-test-unaligned.apk \ --device model=Nexus6,version=21,locale=en,orientation=portrait \ --device model=Nexus7,version=19,locale=fr,orientation=landscape --client-details matrixLabel="Example matrix label"