MoQuality Docs

We are glad that you are using MoQuality in your testing process. You'll find comprehensive guides and documentation to help you start working with MoQuality as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

The MoQuality Command Line Interface (CLI) makes it easy to upload an app to MoQuality. It's an essential part of making your QA process agile. The CLI tool can be integrated with any CI/CD tools such as Bitrise, Circle CI or Jenkins to upload your latest build to MoQuality.


The MoQuality CLI can be used like this:

export MQ_APIKEY=<api_key>
npm install -g @moquality/mq
mq upload --project <project_id> ~/path/to/app.apk

You can read more about this on the npm page:

You can find your API key under the Profile Menu in "Account". Your project_id is the identifier you used while creating your project. You can also find it in the "Project Settings" page.

Upload from your CI/CD pipeline

You can install our CLI tool in your pipeline instructions and then set up your API Key so that any command that follows is set up for your account.


To upload your app from your Bitrise workflow add a custom script such as this:

#!/usr/bin/env bash
echo "Sending APK to MoQuality"

npm install -g @moquality/[email protected]
export MQ_APIKEY=<api_key>
mq upload --project <project_id> $BITRISE_APK_PATH

You can alternatively modify the upload command to add more information

mq upload --project <project_id> \
	--buildNumber $BITRISE_BUILD_NUMBER \
	--buildTitle $BITRISE_BUILD_SLUG \
	--buildBranch $BITRISE_GIT_BRANCH \

Circle CI

To upload your app from your CircleCI job, you can add a step using shell scripts such as this:

version: 2.0
      - image: circleci/android:api-25-node
      - checkout
      - run:
          name: 'Upload app to MoQuality'
          command: |
            npm set prefix=/home/circleci/npm
            npm install -g @moquality/mq
            export MQ_APIKEY=<api_key>
            /home/circleci/npm/bin/mq upload \
            	--project <project_id> \

Check how to set up CircleCI build for Android and iOS. You will also need to use a CircleCI image with -node which comes pre-installed with node.

Since CircleCI's docker images have npm installed at /home/circleci/npm, you will have to use npm set prefix. This will install the CLI tool at /home/circleci/npm/bin/mq. Then you can use the mq command to upload your app. You can also tag this upload with --build-number, --build-title, --build-author or --build-branch.

Uninstalling the MoQuality CLI

You can uninstall the CLI using

npm uninstall -g @moquality/mq

Updated a day ago


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.