Skip to content

Commit 06cae7b

Browse files
committed
chore(release): 3.7.0 [skip ci]
1 parent 0d0a135 commit 06cae7b

File tree

3 files changed

+68
-7
lines changed

3 files changed

+68
-7
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# [3.7.0](https://github.com/salesforcecli/plugin-apex/compare/3.6.19...3.7.0) (2025-09-11)
2+
3+
### Bug Fixes
4+
5+
- remove alias ([ad6f663](https://github.com/salesforcecli/plugin-apex/commit/ad6f6638e7a61c748669c1a41a7f42b04e581837))
6+
- rename className and update schema files ([6ad6649](https://github.com/salesforcecli/plugin-apex/commit/6ad6649f09b0730dc6bb2a66021a2e715269d89b))
7+
- update schema files ([05fb0c3](https://github.com/salesforcecli/plugin-apex/commit/05fb0c3d36040184b5c8c60757520a8904826426))
8+
9+
### Features
10+
11+
- add new logic get test command ([f067ad3](https://github.com/salesforcecli/plugin-apex/commit/f067ad3d93c067bc0cb5681f8aa2f0e5b469fda8))
12+
113
## [3.6.19](https://github.com/salesforcecli/plugin-apex/compare/3.6.18...3.6.19) (2025-05-25)
214

315
### Bug Fixes

README.md

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Happy debugging!
9393
- [`sf apex run`](#sf-apex-run)
9494
- [`sf apex run test`](#sf-apex-run-test)
9595
- [`sf apex tail log`](#sf-apex-tail-log)
96+
- [`sf logic get test`](#sf-logic-get-test)
9697

9798
## `sf apex get log`
9899

@@ -148,7 +149,7 @@ FLAG DESCRIPTIONS
148149
directory.
149150
```
150151

151-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/get/log.ts)_
152+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/get/log.ts)_
152153

153154
## `sf apex get test`
154155

@@ -208,7 +209,7 @@ EXAMPLES
208209
me@myorg'
209210
```
210211

211-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/get/test.ts)_
212+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/get/test.ts)_
212213

213214
## `sf apex list log`
214215

@@ -248,7 +249,7 @@ EXAMPLES
248249
$ sf apex list log --target-org [email protected]
249250
```
250251

251-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/list/log.ts)_
252+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/list/log.ts)_
252253

253254
## `sf apex run`
254255

@@ -295,7 +296,7 @@ EXAMPLES
295296
$ sf apex run
296297
```
297298

298-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/run.ts)_
299+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/run.ts)_
299300

300301
## `sf apex run test`
301302

@@ -438,7 +439,7 @@ FLAG DESCRIPTIONS
438439
--tests Test1 --tests Test2
439440
```
440441

441-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/run/test.ts)_
442+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/run/test.ts)_
442443

443444
## `sf apex tail log`
444445

@@ -481,6 +482,54 @@ EXAMPLES
481482
$ sf apex tail log --color --skip-trace-flag
482483
```
483484

484-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.19/src/commands/apex/tail/log.ts)_
485+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/apex/tail/log.ts)_
486+
487+
## `sf logic get test`
488+
489+
Get the results of a test run.
490+
491+
```
492+
USAGE
493+
$ sf logic get test -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
494+
[--detailed-coverage -c] [-d <value>] [-r human|tap|junit|json] [--concise]
495+
496+
FLAGS
497+
-c, --code-coverage Retrieve code coverage results.
498+
-d, --output-dir=<value> Directory in which to store test result files.
499+
-i, --test-run-id=<value> (required) ID of the test run.
500+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
501+
configuration variable is already set.
502+
-r, --result-format=<option> [default: human] Format of the test results.
503+
<options: human|tap|junit|json>
504+
--api-version=<value> Override the api version used for api requests made by this command
505+
--concise Display only failed test results; works with human-readable output only.
506+
--detailed-coverage Display detailed code coverage per test.
507+
508+
GLOBAL FLAGS
509+
--flags-dir=<value> Import flag values from a directory.
510+
--json Format output as json.
511+
512+
DESCRIPTION
513+
Get the results of a test run.
514+
515+
When you run 'sf logic run test' to test Apex classes and Flows asynchronously, it returns a test run ID. Use that ID
516+
with this command to see the results.
517+
518+
To see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level
519+
summary of the test run and the code coverage values for classes in your org. If you specify human-readable result
520+
format, use the --detailed-coverage flag to see detailed coverage results for each test method run.
521+
522+
EXAMPLES
523+
Get the results for a specific test run ID in the default human-readable format; uses your default org:
524+
525+
$ sf logic get test --test-run-id <test run id>
526+
527+
Get the results for a specific test run ID, format them as JUnit, and save them to the "test-results/junit"
528+
directory; uses the org with alias "my-scratch":
529+
530+
$ sf logic get test --test-run-id <test run id> --result-format junit --target-org my-scratch
531+
```
532+
533+
_See code: [src/commands/logic/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.7.0/src/commands/logic/get/test.ts)_
485534

486535
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-apex",
33
"description": "Apex commands",
4-
"version": "3.6.19",
4+
"version": "3.7.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)