Skip to content

Instantly share code, notes, and snippets.

@glennwester
Last active July 12, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glennwester/3a48191b830e7adeac1e239941d33600 to your computer and use it in GitHub Desktop.
Save glennwester/3a48191b830e7adeac1e239941d33600 to your computer and use it in GitHub Desktop.
Sample command to upload to App Center Test
#0- Fill in the parameters below with those generated your upload command https://docs.microsoft.com/en-us/appcenter/test-cloud/preparing-for-upload/
#1- Put appcenter-post-build.sh in your Solution/Project level folder
#2- Open the project build configuration in Mobile Center, ensure that you see that you see a check-mark next to Post-Build script
#3- Save configruation
echo "============================================="
echo "======= APP CENTER POSTBUILD SCRIPT ======="
echo "============================================="
appcenter test run uitest --app "userAC-at3x/GalaxyApp1" --devices fc21d34a2 --app-path "./GalaxyTest1/bin/iPhone/Debug/GalaxyTest1.ipa" --test-series "launch-tests" --locale "en_US" --build-dir "./GalaxyTest1.UITests/bin/Debug" --token "1e23234ea852361ad27d1b231" --async
# appcenter
# test
# run
# uitest //framework
# --app "userAC-at3x/GalaxyApp1" //App ID
# --devices fc21d34a2 //device key
# --app-path "./GalaxyTest1/bin/iPhone/Debug/GalaxyTest1.ipa" //path to .ipa or .apk file
# --test-series "launch-tests" //test series
# --locale "en_US" //locale setting
# --build-dir "./GalaxyTest1.UITests/bin/Debug" //path to the Debug folder of your testing project
# --token "1e23234ea852361ad27d1b231" //API token
# --async //run command asynchronously
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment