简体   繁体   中英

Appcenter - Test on emulator

Trying to add appcenter CLI commands for example: appcenter test run espresso --app "Test-apps" --devices "google-pixel-2-android-10" --app-path pathToFile.apk --test-series "master" --locale "en_US" --build-dir pathToEspressoBuildFolder

But where should add this CLI command & how to add it stepwise. Can anyone explain clearly?

Your question is still not very clear, it would be great if you copy and paste the errors you are getting, share a screenshot or give more details. Tell us what OS you are using, where did you get this command from?

You need to open the terminal or shell, and paste the commands in there.

There are a few pre-requisites though, the documentation is not super beginner friendly.

From the docs:

  1. Install NodeJS https://nodejs.org/en/
  2. In the terminal, run npm install -g appcenter-cli

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