Skip to content

Commit

Permalink
docs: Add description for xcuitest saucectl option "shard: testList" (#…
Browse files Browse the repository at this point in the history
…3041)

* docs: Add description for xcuitest shard: testList

* Incorporate lint suggestion
  • Loading branch information
mhan83 authored Dec 11, 2024
1 parent 83a6fbb commit da746c0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md
Original file line number Diff line number Diff line change
Expand Up @@ -1327,12 +1327,18 @@ suites:

<p><small>| OPTIONAL | STRING |</small></p>

When shard is configured as `concurrency`, saucectl automatically splits the tests into several groups (the number of groups is determined by the concurrency setting). Each group will then run as an individual job.
Configures saucectl to automatically split the tests of a suite to run in
parallel. Valid values are `concurrency` and `testList`.

Selectable values: `concurrency` to shard by concurrency. Remove this field or leave it empty `""` for no sharding.
In `concurrency` mode, saucectl automatically splits the tests into several
groups (the number of groups is determined by the concurrency setting). Each
group will then run as an individual job.

In `testList` mode, saucectl will use the provided [testListFile](#testlistfile)
and run each entry defined there in parallel.

:::note
When shard is set for a suite, the [class](#class) setting is automatically ignored.
When sharding is enabled, the [class](#class) setting is automatically ignored.
:::

```yaml
Expand Down

0 comments on commit da746c0

Please sign in to comment.