From da746c0d2d9d4a5adeb669a7a42ad996e07b3b0e Mon Sep 17 00:00:00 2001 From: Mike Han <56001373+mhan83@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:14:58 -0700 Subject: [PATCH] docs: Add description for xcuitest saucectl option "shard: testList" (#3041) * docs: Add description for xcuitest shard: testList * Incorporate lint suggestion --- .../automated-testing/espresso-xcuitest/xcuitest.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md b/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md index 4f2332943f..3b780e2587 100644 --- a/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md +++ b/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md @@ -1327,12 +1327,18 @@ suites:

| OPTIONAL | STRING |

-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