Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 789 Bytes

readme-shell-snippets.md

File metadata and controls

40 lines (28 loc) · 789 Bytes

Shell snippets

Switch environment

Switch back GCloud:

gcloud config set project project-id-placeholder

Firebase Test Lab

TBD: move to fastlane.

Android

Build test artifacts:

pushd android
flutter build apk
./gradlew app:assembleAndroidTest
./gradlew app:assembleDebug -Ptarget=integration_test/all_tests.dart
popd

Run the Test Lab tests:

gcloud --quiet config set project project-id-placeholder
gcloud firebase test android run --type instrumentation \
  --app build/app/outputs/apk/debug/app-debug.apk \
  --test build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk \
  --timeout 2m \
  --results-bucket=gs://project-id-placeholder-test \
  --results-dir=test-lab-results-$(date +%Y%m%d-%H%M)

iOS: TBD