Skip to content

Commit bc80ffe

Browse files
docs: uit changes
1 parent a72f7c2 commit bc80ffe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

messages/logicgettest.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Get the results of a test run.
44

55
# description
66

7-
When you run 'sf logic run test' asynchronously, it returns a test run ID. Use that ID with this command to see the results.
7+
When you run 'sf logic run test' to test Apex classes and Flows asynchronously, it returns a test run ID. Use that ID with this command to see the results.
88

99
To see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.
1010

1111
# examples
1212

13-
- Get the results for a specific test run ID in the default human-readable format:
13+
- Get the results for a specific test run ID in the default human-readable format; uses your default org:
1414

1515
<%= config.bin %> <%= command.id %> --test-run-id <test run id>
1616

17-
- Get the results for a specific test run ID, format them as JUnit, and save them to the "test-results/junit" directory:
17+
- Get the results for a specific test run ID, format them as JUnit, and save them to the "test-results/junit" directory; uses the org with alias "my-scratch":
1818

19-
<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit
19+
<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit --target-org my-scratch
2020

2121
# flags.test-run-id.summary
2222

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969
},
7070
"logic": {
71-
"description": "Use the logic commands to run Apex tests and view Apex test results.",
71+
"description": "Use the logic commands to run Apex and Flow tests and view the test results.",
7272
"subtopics": {
7373
"get": {
7474
"description": "Get debug logs or test results."

0 commit comments

Comments
 (0)