Set it up
Create a test plan
Pick the tests, then copy the plan short ID (
pln_…).Mobile build
Upload the APK or simulator app and run the plan against it.
Web app
Start the plan with one
POST /v1/run request.Blocking mode
Poll the run and fail the step when the result is not passed.
What works on Bitrise
What this does not do
- The scripts on the Bitrise page do not post a GitHub or GitLab review.
- Bitrise does not replace a test plan schedule. Manage Schedules runs the plan without a Bitrise build.
- Envoyer is unrelated. It is a PHP deploy hook, not a mobile CI. See Envoyer.
Test your mobile builds
Add ascript step after your build step (e.g. android-build or xcode-build-for-simulator). It uploads the build to QA.tech and starts a test run against it, in four parts:
- Get a presigned upload URL
- Upload the build file directly to storage
- Create the build record
- Start a test run pinned to that build
Android (APK)
Bitrise’sandroid-build step exposes the built APK as $BITRISE_APK_PATH:
app_gXeBl2 and pln_abc123 with your values.
iOS (Simulator build)
QA.tech runs iOS tests on simulators, so the upload must be a simulator build (.app compressed as .zip or .tar.gz) - device and App Store .ipa builds cannot run on simulators. See Mobile App Testing for how to prepare a simulator build.
On Bitrise, use the xcode-build-for-simulator step instead of xcode-archive. It exposes the built .app directory as $BITRISE_APP_DIR_PATH. Zip it before the upload in the script above:
"platform": "ios" when creating the build record.
Supported file types are
.apk and .aab for Android, and .zip or
.tar.gz containing your .app simulator build for iOS. Maximum file size is
4GB. See the Application Builds API for
full request and response details.