Skip to main content
All CollectionsKnowledge BaseGeneral issues
Testing multiple Android modules at the same time
Testing multiple Android modules at the same time
Updated over a week ago

Issue:

The Bitrise test Steps for Android apps only allow testing one module for each instance of the Step. Is there any way to test multiple modules at the same time with a single Step?

Possible solutions:

It is possible to test multiple Android modules at the same time. This requires the Gradle Runner Step and you need to specify the Gradle tasks yourself:

  1. Add the Gradle Runner Step to your Workflow.

  2. In the Gradle task to run input, add the tasks you want to run. These tasks will run your tests.

  3. Make sure you have a valid gradlew file in your repository.

If you would like to stick with the official test Steps, you need to add multiple test Steps and specify different modules per each Step. For example, if you have three different modules on which you want to run unit tests, you need three Android Unit Test Steps in your Workflow.

Did this answer your question?