Skip to content

Commit 44a3d66

Browse files
Merge pull request #630 from salesforcecli/jshackell-sfdc-patch-1
fix: add VAD perm requirement to "apex run test"
2 parents a43eabe + 7b92886 commit 44a3d66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

messages/runtest.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ To see code coverage results, use the --code-coverage flag with --result-format.
1010

1111
By default, Apex tests run asynchronously and immediately return a test run ID. You can use the --wait flag to specify the number of minutes to wait; if the tests finish in that timeframe, the command displays the results. If the tests haven't finished by the end of the wait time, the command displays a test run ID. Use the "<%= config.bin %> apex get test --test-run-id" command to get the results.
1212

13+
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.
14+
1315
NOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.
1416

1517
# examples

0 commit comments

Comments
 (0)