You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ If you get the **Build already exists** error, it is because you have more than
48
48
49
49
## 🧩 Get started
50
50
51
-
Add this step directly to your workflow in the [Bitrise Workflow Editor](https://devcenter.bitrise.io/steps-and-workflows/steps-and-workflows-index/).
51
+
Add this step directly to your workflow in the [Bitrise Workflow Editor](https://docs.bitrise.io/en/bitrise-ci/workflows-and-pipelines/steps/adding-steps-to-a-workflow.html).
52
52
53
53
You can also run this step directly with [Bitrise CLI](https://github.com/bitrise-io/bitrise).
54
54
@@ -67,6 +67,7 @@ You can also run this step directly with [Bitrise CLI](https://github.com/bitris
67
67
|`inst_test_runner_class`| The fully-qualified Java class name of the instrumentation test runner (leave empty to use the last name extracted from the APK manifest). |||
68
68
|`inst_test_targets`| A list of one or more instrumentation test targets to be run (default: all targets). Each target must be fully qualified with the package name or class name, in one of these formats: - `package package_name` - `class package_name.class_name` - `class package_name.class_name#method_name` For example: `class com.my.company.app.MyTargetClass,class com.my.company.app.MyOtherTargetClass`|||
69
69
|`inst_use_orchestrator`| The option of whether running each test within its own invocation of instrumentation with Android Test Orchestrator or not. | required |`false`|
70
+
|`inst_uniform_shards`| The number of shards across which to distribute test cases. The shards are run in parallel on separate devices. A value between 1 and 50. For example, if your test execution contains 20 test cases and you specify four shards, the instrumentation command passes arguments of `-e numShards 4` to `AndroidJUnitRunner` and each shard executes about five test cases. Based on the sharding mechanism `AndroidJUnitRunner` uses, there is no guarantee that test cases will be distributed with perfect uniformity. If zero is specified then no uniform sharding is applied and all test cases run on a single device. |||
70
71
|`robo_initial_activity`| The initial activity used to start the app during a robo test. (leave empty to get it extracted from the APK manifest) |||
71
72
|`robo_max_depth`| The maximum depth of the traversal stack a robo test can explore. Needs to be at least 2 to make Robo explore the app beyond the first activity(leave empty to use the default value: `50`) |||
72
73
|`robo_max_steps`| The maximum number of steps/actions a robo test can execute(leave empty to use the default value: `no limit`). |||
@@ -102,9 +103,8 @@ You can also run this step directly with [Bitrise CLI](https://github.com/bitris
102
103
103
104
We welcome [pull requests](https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/pulls) and [issues](https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/issues) against this repository.
104
105
105
-
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to [run step tests locally](https://devcenter.bitrise.io/bitrise-cli/run-your-first-build/).
106
+
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to [run step tests locally](https://docs.bitrise.io/en/bitrise-ci/bitrise-cli/running-your-first-local-build-with-the-cli.html).
106
107
107
108
Learn more about developing steps:
108
109
109
-
-[Create your own step](https://devcenter.bitrise.io/contributors/create-your-own-step/)
110
-
-[Testing your Step](https://devcenter.bitrise.io/contributors/testing-and-versioning-your-steps/)
110
+
-[Create your own step](https://docs.bitrise.io/en/bitrise-ci/workflows-and-pipelines/developing-your-own-bitrise-step/developing-a-new-step.html)
Copy file name to clipboardExpand all lines: step.yml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -191,6 +191,16 @@ inputs:
191
191
value_options:
192
192
- "false"
193
193
- "true"
194
+
- inst_uniform_shards:
195
+
opts:
196
+
title: Number of shards
197
+
summary: |
198
+
The number of shards across which to distribute test cases. The shards are run in parallel on separate devices.
199
+
description: |
200
+
The number of shards across which to distribute test cases. The shards are run in parallel on separate devices.
201
+
202
+
A value between 1 and 50. For example, if your test execution contains 20 test cases and you specify four shards, the instrumentation command passes arguments of `-e numShards 4` to `AndroidJUnitRunner` and each shard executes about five test cases. Based on the sharding mechanism `AndroidJUnitRunner` uses, there is no guarantee that test cases will be distributed with perfect uniformity.
203
+
If zero is specified then no uniform sharding is applied and all test cases run on a single device.
0 commit comments