@salesforce/plugin-apex 3.6.1 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/messages/runtest.md +2 -0
- package/oclif.manifest.json +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ FLAG DESCRIPTIONS
|
|
|
148
148
|
directory.
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
151
|
+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/get/log.ts)_
|
|
152
152
|
|
|
153
153
|
## `sf apex get test`
|
|
154
154
|
|
|
@@ -208,7 +208,7 @@ EXAMPLES
|
|
|
208
208
|
me@myorg'
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
211
|
+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/get/test.ts)_
|
|
212
212
|
|
|
213
213
|
## `sf apex list log`
|
|
214
214
|
|
|
@@ -248,7 +248,7 @@ EXAMPLES
|
|
|
248
248
|
$ sf apex list log --target-org me@my.org
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
251
|
+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/list/log.ts)_
|
|
252
252
|
|
|
253
253
|
## `sf apex run`
|
|
254
254
|
|
|
@@ -295,7 +295,7 @@ EXAMPLES
|
|
|
295
295
|
$ sf apex run
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
298
|
+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/run.ts)_
|
|
299
299
|
|
|
300
300
|
## `sf apex run test`
|
|
301
301
|
|
|
@@ -347,6 +347,9 @@ DESCRIPTION
|
|
|
347
347
|
haven't finished by the end of the wait time, the command displays a test run ID. Use the "sf apex get test
|
|
348
348
|
--test-run-id" command to get the results.
|
|
349
349
|
|
|
350
|
+
You must have the "View All Data" system permission to use this command. The permission is disabled by default and can
|
|
351
|
+
be enabled only by a system administrator.
|
|
352
|
+
|
|
350
353
|
NOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines
|
|
351
354
|
from all the Apex classes evaluated by the tests in this run.
|
|
352
355
|
|
|
@@ -435,7 +438,7 @@ FLAG DESCRIPTIONS
|
|
|
435
438
|
--tests Test1 --tests Test2
|
|
436
439
|
```
|
|
437
440
|
|
|
438
|
-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
441
|
+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/run/test.ts)_
|
|
439
442
|
|
|
440
443
|
## `sf apex tail log`
|
|
441
444
|
|
|
@@ -478,6 +481,6 @@ EXAMPLES
|
|
|
478
481
|
$ sf apex tail log --color --skip-trace-flag
|
|
479
482
|
```
|
|
480
483
|
|
|
481
|
-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
484
|
+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.3/src/commands/apex/tail/log.ts)_
|
|
482
485
|
|
|
483
486
|
<!-- commandsstop -->
|
package/messages/runtest.md
CHANGED
|
@@ -10,6 +10,8 @@ To see code coverage results, use the --code-coverage flag with --result-format.
|
|
|
10
10
|
|
|
11
11
|
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.
|
|
12
12
|
|
|
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
|
+
|
|
13
15
|
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.
|
|
14
16
|
|
|
15
17
|
# examples
|
package/oclif.manifest.json
CHANGED
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
],
|
|
570
570
|
"args": {},
|
|
571
571
|
"deprecateAliases": true,
|
|
572
|
-
"description": "Specify which tests to run by using the --class-names, --suite-names, or --tests flags. Alternatively, use the --test-level flag to run all the tests in your org, local tests, or specified tests.\n\nTo 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.\n\nBy 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.\n\nNOTE: 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.",
|
|
572
|
+
"description": "Specify which tests to run by using the --class-names, --suite-names, or --tests flags. Alternatively, use the --test-level flag to run all the tests in your org, local tests, or specified tests.\n\nTo 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.\n\nBy 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.\n\nYou 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.\n\nNOTE: 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.",
|
|
573
573
|
"examples": [
|
|
574
574
|
"Run all Apex tests and suites in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
575
575
|
"Run the specified Apex test classes in your default org and display results in human-readable form:\n<%= config.bin %> <%= command.id %> --class-names MyClassTest --class-names MyOtherClassTest --result-format human",
|
|
@@ -978,5 +978,5 @@
|
|
|
978
978
|
]
|
|
979
979
|
}
|
|
980
980
|
},
|
|
981
|
-
"version": "3.6.
|
|
981
|
+
"version": "3.6.3"
|
|
982
982
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/core": "^4.0.31",
|
|
16
|
-
"@oclif/plugin-command-snapshot": "^5.2.
|
|
17
|
-
"@salesforce/cli-plugins-testkit": "^5.3.
|
|
18
|
-
"@salesforce/dev-scripts": "^10.2.
|
|
16
|
+
"@oclif/plugin-command-snapshot": "^5.2.21",
|
|
17
|
+
"@salesforce/cli-plugins-testkit": "^5.3.37",
|
|
18
|
+
"@salesforce/dev-scripts": "^10.2.11",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^3.1.33",
|
|
20
20
|
"eslint-plugin-sf-plugin": "^1.20.11",
|
|
21
|
-
"oclif": "^4.15.
|
|
21
|
+
"oclif": "^4.15.25",
|
|
22
22
|
"ts-node": "^10.9.2",
|
|
23
23
|
"typescript": "^5.6.3"
|
|
24
24
|
},
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"exports": "./lib/index.js",
|
|
218
218
|
"type": "module",
|
|
219
219
|
"sfdx": {
|
|
220
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.
|
|
221
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.
|
|
220
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.3.crt",
|
|
221
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.3.sig"
|
|
222
222
|
}
|
|
223
223
|
}
|