From 330bde37c4a3e64e4aad09b614b7c52fe0cf3813 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Wed, 17 Sep 2025 02:30:32 +0000 Subject: [PATCH] chore(release): bump to 2.107.6 --- README.md | 136 ++++++++++++++++++++++++++++++++++++++++++++++++--- package.json | 4 +- yarn.lock | 8 +-- 3 files changed, 134 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 9417c634a..b2c24a256 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.107.5 linux-x64 node-v22.19.0 +@salesforce/cli/2.107.6 linux-x64 node-v22.19.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -107,6 +107,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf lightning generate interface`](#sf-lightning-generate-interface) - [`sf lightning generate test`](#sf-lightning-generate-test) - [`sf logic get test`](#sf-logic-get-test) +- [`sf logic run test`](#sf-logic-run-test) - [`sf org assign permset`](#sf-org-assign-permset) - [`sf org assign permsetlicense`](#sf-org-assign-permsetlicense) - [`sf org create sandbox`](#sf-org-create-sandbox) @@ -1268,7 +1269,7 @@ FLAG DESCRIPTIONS directory. ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/get/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/get/log.ts)_ ## `sf apex get test` @@ -1328,7 +1329,7 @@ EXAMPLES me@myorg' ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/get/test.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/get/test.ts)_ ## `sf apex list log` @@ -1368,7 +1369,7 @@ EXAMPLES $ sf apex list log --target-org me@my.org ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/list/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/list/log.ts)_ ## `sf apex run` @@ -1415,7 +1416,7 @@ EXAMPLES $ sf apex run ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/run.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/run.ts)_ ## `sf apex run test` @@ -1467,6 +1468,9 @@ DESCRIPTION haven't finished by the end of the wait time, the command displays a test run ID. Use the "sf apex get test --test-run-id" command to get the results. + To run both Apex and Flow tests together, run the "sf logic run test" CLI command, which has similar flags as this + command, but expands the --tests flag to also include Flow tests. + You must have the "View All Data" system permission to use this command. The permission is disabled by default and can be enabled only by a system administrator. @@ -1558,7 +1562,7 @@ FLAG DESCRIPTIONS --tests Test1 --tests Test2 ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/run/test.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/run/test.ts)_ ## `sf apex tail log` @@ -1601,7 +1605,7 @@ EXAMPLES $ sf apex tail log --color --skip-trace-flag ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/apex/tail/log.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/apex/tail/log.ts)_ ## `sf api request graphql` @@ -3700,7 +3704,123 @@ EXAMPLES $ sf logic get test --test-run-id --result-format junit --target-org my-scratch ``` -_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.7.1/src/commands/logic/get/test.ts)_ +_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/3.8.0/src/commands/logic/get/test.ts)_ + +## `sf logic run test` + +Invoke tests for Apex and Flows in an org. + +``` +USAGE + $ sf logic run test -o [--json] [--flags-dir ] [--api-version ] [-d ] [-l + RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n ... | -s ... | -t ... | --test-category + Apex|Flow...] [-r human|tap|junit|json] [-w ] [-y] [-v -c] [--concise] + +FLAGS + -c, --code-coverage Retrieve code coverage results. + -d, --output-dir= Directory in which to store test run files. + -l, --test-level=