From d0dfd5c69a933fc39e8491c3a52e4a30739a343f Mon Sep 17 00:00:00 2001 From: Mike Han Date: Tue, 10 Dec 2024 08:44:31 -0700 Subject: [PATCH 1/2] docs: Add description for xcuitest shard: testList --- .../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..0a95bdd6a2 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 more easily +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 From 94eb5e205430279ab7d6135c57258dc230bfa202 Mon Sep 17 00:00:00 2001 From: Mike Han Date: Wed, 11 Dec 2024 09:25:16 -0700 Subject: [PATCH 2/2] Incorporate lint suggestion --- .../automated-testing/espresso-xcuitest/xcuitest.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md b/docs/mobile-apps/automated-testing/espresso-xcuitest/xcuitest.md index 0a95bdd6a2..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,12 @@ suites:

| OPTIONAL | STRING |

-Configures saucectl to automatically split the tests of a suite to more easily -run in parallel. Valid values are `concurrency` and `testList`. +Configures saucectl to automatically split the tests of a suite to run in +parallel. Valid values are `concurrency` and `testList`. -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 `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.