简体   繁体   中英

Firebase Device Lab - how can I run cross app tests

I'm interested in running some UIAutomator tests in the Firebase Test Lab: One of our tests we want to do involves functionality in 2 different apps.

So our process locally is:

  1. Install app A
  2. Install app B
  3. Install the intrumentation apk

Run the instruentation step.

However, with the gcloud commands, it looks like we can only upload 1 app apk and 1 test apk.

Is there a way to do multiple apk testing in the Test Lab?

Installing additional APKs is supported in gcloud beta:

gcloud beta firebase test android run \
    --app=path/to/app1.apk \
    --test=path/to/test.apk \
    --additional-apks=path/to/app2.apk,path/to/app3.apk \
    ...other options here...

You might need to install the beta component with gcloud components install beta or the package manager of your OS distribution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM