@salesforce/plugin-apex 3.6.18 → 3.7.0
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 +55 -6
- package/lib/commands/apex/get/test.js +10 -12
- package/lib/commands/apex/get/test.js.map +1 -1
- package/lib/commands/logic/get/test.d.ts +19 -0
- package/lib/commands/logic/get/test.js +62 -0
- package/lib/commands/logic/get/test.js.map +1 -0
- package/lib/reporters/jsonReporter.d.ts +1 -1
- package/lib/reporters/jsonReporter.js +2 -1
- package/lib/reporters/jsonReporter.js.map +1 -1
- package/lib/reporters/testReporter.d.ts +1 -0
- package/lib/reporters/testReporter.js +11 -11
- package/lib/reporters/testReporter.js.map +1 -1
- package/lib/shared/TestGetBase.d.ts +22 -0
- package/lib/shared/TestGetBase.js +31 -0
- package/lib/shared/TestGetBase.js.map +1 -0
- package/messages/logicgettest.md +39 -0
- package/oclif.manifest.json +549 -390
- package/package.json +14 -6
package/oclif.manifest.json
CHANGED
|
@@ -106,25 +106,18 @@
|
|
|
106
106
|
"run:apex"
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
-
"apex:
|
|
109
|
+
"apex:get:log": {
|
|
110
110
|
"aliases": [
|
|
111
|
-
"force:apex:
|
|
111
|
+
"force:apex:log:get"
|
|
112
112
|
],
|
|
113
113
|
"args": {},
|
|
114
114
|
"deprecateAliases": true,
|
|
115
|
-
"description": "
|
|
115
|
+
"description": "To get the IDs for your debug logs, run \"<%= config.bin %> apex log list\". Executing this command without flags returns the most recent log.",
|
|
116
116
|
"examples": [
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"Run all tests in the org with the specified username with the specified test level; save the output to the specified directory:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests --output-dir <path to outputdir> --target-org me@my.org",
|
|
122
|
-
"Run all tests in the org asynchronously:\n<%= config.bin %> <%= command.id %> --target-org myscratch",
|
|
123
|
-
"Run all tests synchronously; the command waits to display the test results until all tests finish:\n<%= config.bin %> <%= command.id %> --synchronous",
|
|
124
|
-
"Run specific tests using the --test-level flag:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests",
|
|
125
|
-
"Run Apex tests on all the methods in the specified class; output results in Test Anything Protocol (TAP) format and request code coverage results:\n<%= config.bin %> <%= command.id %> --class-names TestA --class-names TestB --result-format tap --code-coverage",
|
|
126
|
-
"Run Apex tests on methods specified using the standard Class.method notation; if you specify a test class without a method, the command runs all methods in the class:\n<%= config.bin %> <%= command.id %> --tests TestA.excitingMethod --tests TestA.boringMethod --tests TestB",
|
|
127
|
-
"Run Apex tests on methods specified using the standard Class.method notation with a namespace:\n<%= config.bin %> <%= command.id %> --tests ns.TestA.excitingMethod --tests ns.TestA.boringMethod --tests ns.TestB"
|
|
117
|
+
"Fetch the log in your default org using an ID:\n<%= config.bin %> <%= command.id %> --log-id <log id>",
|
|
118
|
+
"Fetch the log in the org with the specified username using an ID:\n<%= config.bin %> <%= command.id %> --log-id <log id> --target-org me@my.org",
|
|
119
|
+
"Fetch the two most recent logs in your default org:\n<%= config.bin %> <%= command.id %> --number 2",
|
|
120
|
+
"Similar to previous example, but save the two log files in the specified directory:\n<%= config.bin %> <%= command.id %> --output-dir /Users/sfdxUser/logs --number 2"
|
|
128
121
|
],
|
|
129
122
|
"flags": {
|
|
130
123
|
"json": {
|
|
@@ -178,217 +171,105 @@
|
|
|
178
171
|
"multiple": false,
|
|
179
172
|
"type": "option"
|
|
180
173
|
},
|
|
181
|
-
"
|
|
182
|
-
"aliases": [
|
|
183
|
-
"codecoverage"
|
|
184
|
-
],
|
|
185
|
-
"char": "c",
|
|
186
|
-
"deprecateAliases": true,
|
|
187
|
-
"name": "code-coverage",
|
|
188
|
-
"summary": "Retrieve code coverage results.",
|
|
189
|
-
"allowNo": false,
|
|
190
|
-
"type": "boolean"
|
|
191
|
-
},
|
|
192
|
-
"output-dir": {
|
|
193
|
-
"aliases": [
|
|
194
|
-
"outputdir",
|
|
195
|
-
"output-directory"
|
|
196
|
-
],
|
|
197
|
-
"char": "d",
|
|
198
|
-
"deprecateAliases": true,
|
|
199
|
-
"name": "output-dir",
|
|
200
|
-
"summary": "Directory in which to store test run files.",
|
|
201
|
-
"hasDynamicHelp": false,
|
|
202
|
-
"multiple": false,
|
|
203
|
-
"type": "option"
|
|
204
|
-
},
|
|
205
|
-
"test-level": {
|
|
174
|
+
"log-id": {
|
|
206
175
|
"aliases": [
|
|
207
|
-
"
|
|
176
|
+
"logid"
|
|
208
177
|
],
|
|
209
|
-
"char": "
|
|
178
|
+
"char": "i",
|
|
210
179
|
"deprecateAliases": true,
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"summary": "Level of tests to run; default is RunLocalTests.",
|
|
180
|
+
"name": "log-id",
|
|
181
|
+
"summary": "ID of the specific log to display.",
|
|
214
182
|
"hasDynamicHelp": false,
|
|
215
183
|
"multiple": false,
|
|
216
|
-
"options": [
|
|
217
|
-
"RunLocalTests",
|
|
218
|
-
"RunAllTestsInOrg",
|
|
219
|
-
"RunSpecifiedTests"
|
|
220
|
-
],
|
|
221
184
|
"type": "option"
|
|
222
185
|
},
|
|
223
|
-
"
|
|
224
|
-
"aliases": [
|
|
225
|
-
"classnames"
|
|
226
|
-
],
|
|
186
|
+
"number": {
|
|
227
187
|
"char": "n",
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"exclusive": [
|
|
231
|
-
"suite-names",
|
|
232
|
-
"tests"
|
|
233
|
-
],
|
|
234
|
-
"name": "class-names",
|
|
235
|
-
"summary": "Apex test class names to run; default is all classes.",
|
|
236
|
-
"delimiter": ",",
|
|
237
|
-
"hasDynamicHelp": false,
|
|
238
|
-
"multiple": true,
|
|
239
|
-
"type": "option"
|
|
240
|
-
},
|
|
241
|
-
"result-format": {
|
|
242
|
-
"aliases": [
|
|
243
|
-
"resultformat"
|
|
244
|
-
],
|
|
245
|
-
"char": "r",
|
|
246
|
-
"deprecateAliases": true,
|
|
247
|
-
"name": "result-format",
|
|
248
|
-
"summary": "Format of the test results.",
|
|
249
|
-
"default": "human",
|
|
188
|
+
"name": "number",
|
|
189
|
+
"summary": "Number of the most recent logs to display.",
|
|
250
190
|
"hasDynamicHelp": false,
|
|
251
191
|
"multiple": false,
|
|
252
|
-
"options": [
|
|
253
|
-
"human",
|
|
254
|
-
"tap",
|
|
255
|
-
"junit",
|
|
256
|
-
"json"
|
|
257
|
-
],
|
|
258
192
|
"type": "option"
|
|
259
193
|
},
|
|
260
|
-
"
|
|
194
|
+
"output-dir": {
|
|
261
195
|
"aliases": [
|
|
262
|
-
"
|
|
196
|
+
"outputdir",
|
|
197
|
+
"output-directory"
|
|
263
198
|
],
|
|
264
|
-
"char": "
|
|
199
|
+
"char": "d",
|
|
265
200
|
"deprecateAliases": true,
|
|
266
|
-
"description": "
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
"tests"
|
|
270
|
-
],
|
|
271
|
-
"name": "suite-names",
|
|
272
|
-
"summary": "Apex test suite names to run.",
|
|
273
|
-
"delimiter": ",",
|
|
274
|
-
"hasDynamicHelp": false,
|
|
275
|
-
"multiple": true,
|
|
276
|
-
"type": "option"
|
|
277
|
-
},
|
|
278
|
-
"tests": {
|
|
279
|
-
"char": "t",
|
|
280
|
-
"description": "If you specify --tests, you can't specify --class-names or --suite-names\nFor multiple tests, repeat the flag for each.\n--tests Test1 --tests Test2",
|
|
281
|
-
"exclusive": [
|
|
282
|
-
"class-names",
|
|
283
|
-
"suite-names"
|
|
284
|
-
],
|
|
285
|
-
"name": "tests",
|
|
286
|
-
"summary": "Apex test class names or IDs and, if applicable, test methods to run; default is all tests.",
|
|
287
|
-
"delimiter": ",",
|
|
201
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
202
|
+
"name": "output-dir",
|
|
203
|
+
"summary": "Directory for saving the log files.",
|
|
288
204
|
"hasDynamicHelp": false,
|
|
289
|
-
"multiple": true,
|
|
290
|
-
"type": "option"
|
|
291
|
-
},
|
|
292
|
-
"wait": {
|
|
293
|
-
"char": "w",
|
|
294
|
-
"name": "wait",
|
|
295
|
-
"summary": "Sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently.",
|
|
296
|
-
"hasDynamicHelp": true,
|
|
297
205
|
"multiple": false,
|
|
298
206
|
"type": "option"
|
|
299
|
-
},
|
|
300
|
-
"synchronous": {
|
|
301
|
-
"char": "y",
|
|
302
|
-
"name": "synchronous",
|
|
303
|
-
"summary": "Runs test methods from a single Apex class synchronously; if not specified, tests are run asynchronously.",
|
|
304
|
-
"allowNo": false,
|
|
305
|
-
"type": "boolean"
|
|
306
|
-
},
|
|
307
|
-
"detailed-coverage": {
|
|
308
|
-
"aliases": [
|
|
309
|
-
"detailedcoverage"
|
|
310
|
-
],
|
|
311
|
-
"char": "v",
|
|
312
|
-
"dependsOn": [
|
|
313
|
-
"code-coverage"
|
|
314
|
-
],
|
|
315
|
-
"deprecateAliases": true,
|
|
316
|
-
"name": "detailed-coverage",
|
|
317
|
-
"summary": "Display detailed code coverage per test.",
|
|
318
|
-
"allowNo": false,
|
|
319
|
-
"type": "boolean"
|
|
320
|
-
},
|
|
321
|
-
"concise": {
|
|
322
|
-
"name": "concise",
|
|
323
|
-
"summary": "Display only failed test results; works with human-readable output only.",
|
|
324
|
-
"allowNo": false,
|
|
325
|
-
"type": "boolean"
|
|
326
207
|
}
|
|
327
208
|
},
|
|
328
209
|
"hasDynamicHelp": true,
|
|
329
210
|
"hiddenAliases": [],
|
|
330
|
-
"id": "apex:
|
|
211
|
+
"id": "apex:get:log",
|
|
331
212
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
332
213
|
"pluginName": "@salesforce/plugin-apex",
|
|
333
214
|
"pluginType": "core",
|
|
334
215
|
"strict": true,
|
|
335
|
-
"summary": "
|
|
216
|
+
"summary": "Fetch the specified log or given number of most recent logs from the org.",
|
|
336
217
|
"enableJsonFlag": true,
|
|
337
218
|
"isESM": true,
|
|
338
219
|
"relativePath": [
|
|
339
220
|
"lib",
|
|
340
221
|
"commands",
|
|
341
222
|
"apex",
|
|
342
|
-
"
|
|
343
|
-
"
|
|
223
|
+
"get",
|
|
224
|
+
"log.js"
|
|
344
225
|
],
|
|
345
226
|
"aliasPermutations": [
|
|
346
|
-
"force:apex:
|
|
347
|
-
"apex:force:
|
|
348
|
-
"apex:
|
|
349
|
-
"apex:
|
|
350
|
-
"force:
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"force:
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
"force:apex:
|
|
359
|
-
"apex:force:
|
|
360
|
-
"apex:
|
|
361
|
-
"apex:
|
|
362
|
-
"force:
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"force:
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"
|
|
227
|
+
"force:apex:log:get",
|
|
228
|
+
"apex:force:log:get",
|
|
229
|
+
"apex:log:force:get",
|
|
230
|
+
"apex:log:get:force",
|
|
231
|
+
"force:log:apex:get",
|
|
232
|
+
"log:force:apex:get",
|
|
233
|
+
"log:apex:force:get",
|
|
234
|
+
"log:apex:get:force",
|
|
235
|
+
"force:log:get:apex",
|
|
236
|
+
"log:force:get:apex",
|
|
237
|
+
"log:get:force:apex",
|
|
238
|
+
"log:get:apex:force",
|
|
239
|
+
"force:apex:get:log",
|
|
240
|
+
"apex:force:get:log",
|
|
241
|
+
"apex:get:force:log",
|
|
242
|
+
"apex:get:log:force",
|
|
243
|
+
"force:get:apex:log",
|
|
244
|
+
"get:force:apex:log",
|
|
245
|
+
"get:apex:force:log",
|
|
246
|
+
"get:apex:log:force",
|
|
247
|
+
"force:get:log:apex",
|
|
248
|
+
"get:force:log:apex",
|
|
249
|
+
"get:log:force:apex",
|
|
250
|
+
"get:log:apex:force"
|
|
370
251
|
],
|
|
371
252
|
"permutations": [
|
|
372
|
-
"apex:
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"apex:
|
|
376
|
-
"
|
|
377
|
-
"
|
|
253
|
+
"apex:get:log",
|
|
254
|
+
"get:apex:log",
|
|
255
|
+
"get:log:apex",
|
|
256
|
+
"apex:log:get",
|
|
257
|
+
"log:apex:get",
|
|
258
|
+
"log:get:apex"
|
|
378
259
|
]
|
|
379
260
|
},
|
|
380
|
-
"apex:get:
|
|
261
|
+
"apex:get:test": {
|
|
381
262
|
"aliases": [
|
|
382
|
-
"force:apex:
|
|
263
|
+
"force:apex:test:report"
|
|
383
264
|
],
|
|
384
265
|
"args": {},
|
|
385
266
|
"deprecateAliases": true,
|
|
386
|
-
"description": "
|
|
267
|
+
"description": "Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"<%= config.bin %> apex test run\" command.\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.",
|
|
387
268
|
"examples": [
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
"
|
|
391
|
-
"
|
|
269
|
+
"Display test results for your default org using a test run ID:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
270
|
+
"Similar to previous example, but output the result in JUnit format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit",
|
|
271
|
+
"Also retrieve code coverage results and output in JSON format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --json",
|
|
272
|
+
"Specify a directory in which to save the test results from the org with the specified username (rather than your default org):\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org me@myorg'"
|
|
392
273
|
],
|
|
393
274
|
"flags": {
|
|
394
275
|
"json": {
|
|
@@ -442,167 +323,15 @@
|
|
|
442
323
|
"multiple": false,
|
|
443
324
|
"type": "option"
|
|
444
325
|
},
|
|
445
|
-
"
|
|
326
|
+
"test-run-id": {
|
|
446
327
|
"aliases": [
|
|
447
|
-
"
|
|
328
|
+
"testrunid"
|
|
448
329
|
],
|
|
449
330
|
"char": "i",
|
|
450
331
|
"deprecateAliases": true,
|
|
451
|
-
"name": "
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
"multiple": false,
|
|
455
|
-
"type": "option"
|
|
456
|
-
},
|
|
457
|
-
"number": {
|
|
458
|
-
"char": "n",
|
|
459
|
-
"name": "number",
|
|
460
|
-
"summary": "Number of the most recent logs to display.",
|
|
461
|
-
"hasDynamicHelp": false,
|
|
462
|
-
"multiple": false,
|
|
463
|
-
"type": "option"
|
|
464
|
-
},
|
|
465
|
-
"output-dir": {
|
|
466
|
-
"aliases": [
|
|
467
|
-
"outputdir",
|
|
468
|
-
"output-directory"
|
|
469
|
-
],
|
|
470
|
-
"char": "d",
|
|
471
|
-
"deprecateAliases": true,
|
|
472
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
473
|
-
"name": "output-dir",
|
|
474
|
-
"summary": "Directory for saving the log files.",
|
|
475
|
-
"hasDynamicHelp": false,
|
|
476
|
-
"multiple": false,
|
|
477
|
-
"type": "option"
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
|
-
"hasDynamicHelp": true,
|
|
481
|
-
"hiddenAliases": [],
|
|
482
|
-
"id": "apex:get:log",
|
|
483
|
-
"pluginAlias": "@salesforce/plugin-apex",
|
|
484
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
485
|
-
"pluginType": "core",
|
|
486
|
-
"strict": true,
|
|
487
|
-
"summary": "Fetch the specified log or given number of most recent logs from the org.",
|
|
488
|
-
"enableJsonFlag": true,
|
|
489
|
-
"isESM": true,
|
|
490
|
-
"relativePath": [
|
|
491
|
-
"lib",
|
|
492
|
-
"commands",
|
|
493
|
-
"apex",
|
|
494
|
-
"get",
|
|
495
|
-
"log.js"
|
|
496
|
-
],
|
|
497
|
-
"aliasPermutations": [
|
|
498
|
-
"force:apex:log:get",
|
|
499
|
-
"apex:force:log:get",
|
|
500
|
-
"apex:log:force:get",
|
|
501
|
-
"apex:log:get:force",
|
|
502
|
-
"force:log:apex:get",
|
|
503
|
-
"log:force:apex:get",
|
|
504
|
-
"log:apex:force:get",
|
|
505
|
-
"log:apex:get:force",
|
|
506
|
-
"force:log:get:apex",
|
|
507
|
-
"log:force:get:apex",
|
|
508
|
-
"log:get:force:apex",
|
|
509
|
-
"log:get:apex:force",
|
|
510
|
-
"force:apex:get:log",
|
|
511
|
-
"apex:force:get:log",
|
|
512
|
-
"apex:get:force:log",
|
|
513
|
-
"apex:get:log:force",
|
|
514
|
-
"force:get:apex:log",
|
|
515
|
-
"get:force:apex:log",
|
|
516
|
-
"get:apex:force:log",
|
|
517
|
-
"get:apex:log:force",
|
|
518
|
-
"force:get:log:apex",
|
|
519
|
-
"get:force:log:apex",
|
|
520
|
-
"get:log:force:apex",
|
|
521
|
-
"get:log:apex:force"
|
|
522
|
-
],
|
|
523
|
-
"permutations": [
|
|
524
|
-
"apex:get:log",
|
|
525
|
-
"get:apex:log",
|
|
526
|
-
"get:log:apex",
|
|
527
|
-
"apex:log:get",
|
|
528
|
-
"log:apex:get",
|
|
529
|
-
"log:get:apex"
|
|
530
|
-
]
|
|
531
|
-
},
|
|
532
|
-
"apex:get:test": {
|
|
533
|
-
"aliases": [
|
|
534
|
-
"force:apex:test:report"
|
|
535
|
-
],
|
|
536
|
-
"args": {},
|
|
537
|
-
"deprecateAliases": true,
|
|
538
|
-
"description": "Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"<%= config.bin %> apex test run\" command.\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.",
|
|
539
|
-
"examples": [
|
|
540
|
-
"Display test results for your default org using a test run ID:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
541
|
-
"Similar to previous example, but output the result in JUnit format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit",
|
|
542
|
-
"Also retrieve code coverage results and output in JSON format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --json",
|
|
543
|
-
"Specify a directory in which to save the test results from the org with the specified username (rather than your default org):\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org me@myorg'"
|
|
544
|
-
],
|
|
545
|
-
"flags": {
|
|
546
|
-
"json": {
|
|
547
|
-
"description": "Format output as json.",
|
|
548
|
-
"helpGroup": "GLOBAL",
|
|
549
|
-
"name": "json",
|
|
550
|
-
"allowNo": false,
|
|
551
|
-
"type": "boolean"
|
|
552
|
-
},
|
|
553
|
-
"flags-dir": {
|
|
554
|
-
"helpGroup": "GLOBAL",
|
|
555
|
-
"name": "flags-dir",
|
|
556
|
-
"summary": "Import flag values from a directory.",
|
|
557
|
-
"hasDynamicHelp": false,
|
|
558
|
-
"multiple": false,
|
|
559
|
-
"type": "option"
|
|
560
|
-
},
|
|
561
|
-
"target-org": {
|
|
562
|
-
"aliases": [
|
|
563
|
-
"targetusername",
|
|
564
|
-
"u"
|
|
565
|
-
],
|
|
566
|
-
"char": "o",
|
|
567
|
-
"deprecateAliases": true,
|
|
568
|
-
"name": "target-org",
|
|
569
|
-
"noCacheDefault": true,
|
|
570
|
-
"required": true,
|
|
571
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
572
|
-
"hasDynamicHelp": true,
|
|
573
|
-
"multiple": false,
|
|
574
|
-
"type": "option"
|
|
575
|
-
},
|
|
576
|
-
"api-version": {
|
|
577
|
-
"aliases": [
|
|
578
|
-
"apiversion"
|
|
579
|
-
],
|
|
580
|
-
"deprecateAliases": true,
|
|
581
|
-
"description": "Override the api version used for api requests made by this command",
|
|
582
|
-
"name": "api-version",
|
|
583
|
-
"hasDynamicHelp": false,
|
|
584
|
-
"multiple": false,
|
|
585
|
-
"type": "option"
|
|
586
|
-
},
|
|
587
|
-
"loglevel": {
|
|
588
|
-
"deprecated": {
|
|
589
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
590
|
-
},
|
|
591
|
-
"hidden": true,
|
|
592
|
-
"name": "loglevel",
|
|
593
|
-
"hasDynamicHelp": false,
|
|
594
|
-
"multiple": false,
|
|
595
|
-
"type": "option"
|
|
596
|
-
},
|
|
597
|
-
"test-run-id": {
|
|
598
|
-
"aliases": [
|
|
599
|
-
"testrunid"
|
|
600
|
-
],
|
|
601
|
-
"char": "i",
|
|
602
|
-
"deprecateAliases": true,
|
|
603
|
-
"name": "test-run-id",
|
|
604
|
-
"required": true,
|
|
605
|
-
"summary": "ID of the test run.",
|
|
332
|
+
"name": "test-run-id",
|
|
333
|
+
"required": true,
|
|
334
|
+
"summary": "ID of the test run.",
|
|
606
335
|
"hasDynamicHelp": false,
|
|
607
336
|
"multiple": false,
|
|
608
337
|
"type": "option"
|
|
@@ -760,78 +489,349 @@
|
|
|
760
489
|
"multiple": false,
|
|
761
490
|
"type": "option"
|
|
762
491
|
},
|
|
763
|
-
"api-version": {
|
|
492
|
+
"api-version": {
|
|
493
|
+
"aliases": [
|
|
494
|
+
"apiversion"
|
|
495
|
+
],
|
|
496
|
+
"deprecateAliases": true,
|
|
497
|
+
"description": "Override the api version used for api requests made by this command",
|
|
498
|
+
"name": "api-version",
|
|
499
|
+
"hasDynamicHelp": false,
|
|
500
|
+
"multiple": false,
|
|
501
|
+
"type": "option"
|
|
502
|
+
},
|
|
503
|
+
"loglevel": {
|
|
504
|
+
"deprecated": {
|
|
505
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
506
|
+
},
|
|
507
|
+
"hidden": true,
|
|
508
|
+
"name": "loglevel",
|
|
509
|
+
"hasDynamicHelp": false,
|
|
510
|
+
"multiple": false,
|
|
511
|
+
"type": "option"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"hasDynamicHelp": true,
|
|
515
|
+
"hiddenAliases": [],
|
|
516
|
+
"id": "apex:list:log",
|
|
517
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
518
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
519
|
+
"pluginType": "core",
|
|
520
|
+
"strict": true,
|
|
521
|
+
"summary": "Display a list of IDs and general information about debug logs.",
|
|
522
|
+
"enableJsonFlag": true,
|
|
523
|
+
"isESM": true,
|
|
524
|
+
"relativePath": [
|
|
525
|
+
"lib",
|
|
526
|
+
"commands",
|
|
527
|
+
"apex",
|
|
528
|
+
"list",
|
|
529
|
+
"log.js"
|
|
530
|
+
],
|
|
531
|
+
"aliasPermutations": [
|
|
532
|
+
"force:apex:log:list",
|
|
533
|
+
"apex:force:log:list",
|
|
534
|
+
"apex:log:force:list",
|
|
535
|
+
"apex:log:list:force",
|
|
536
|
+
"force:log:apex:list",
|
|
537
|
+
"log:force:apex:list",
|
|
538
|
+
"log:apex:force:list",
|
|
539
|
+
"log:apex:list:force",
|
|
540
|
+
"force:log:list:apex",
|
|
541
|
+
"log:force:list:apex",
|
|
542
|
+
"log:list:force:apex",
|
|
543
|
+
"log:list:apex:force",
|
|
544
|
+
"force:apex:list:log",
|
|
545
|
+
"apex:force:list:log",
|
|
546
|
+
"apex:list:force:log",
|
|
547
|
+
"apex:list:log:force",
|
|
548
|
+
"force:list:apex:log",
|
|
549
|
+
"list:force:apex:log",
|
|
550
|
+
"list:apex:force:log",
|
|
551
|
+
"list:apex:log:force",
|
|
552
|
+
"force:list:log:apex",
|
|
553
|
+
"list:force:log:apex",
|
|
554
|
+
"list:log:force:apex",
|
|
555
|
+
"list:log:apex:force"
|
|
556
|
+
],
|
|
557
|
+
"permutations": [
|
|
558
|
+
"apex:list:log",
|
|
559
|
+
"list:apex:log",
|
|
560
|
+
"list:log:apex",
|
|
561
|
+
"apex:log:list",
|
|
562
|
+
"log:apex:list",
|
|
563
|
+
"log:list:apex"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"apex:run:test": {
|
|
567
|
+
"aliases": [
|
|
568
|
+
"force:apex:test:run"
|
|
569
|
+
],
|
|
570
|
+
"args": {},
|
|
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\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
|
+
"examples": [
|
|
574
|
+
"Run all Apex tests and suites in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
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",
|
|
576
|
+
"Run the specified Apex test suites in your default org and include code coverage results and additional details:\n<%= config.bin %> <%= command.id %> --suite-names MySuite --suite-names MyOtherSuite --code-coverage --detailed-coverage",
|
|
577
|
+
"Run the specified Apex tests in your default org and display results in human-readable output:\n<%= config.bin %> <%= command.id %> --tests MyClassTest.testCoolFeature --tests MyClassTest.testAwesomeFeature --tests AnotherClassTest --tests namespace.TheirClassTest.testThis --result-format human",
|
|
578
|
+
"Run all tests in the org with the specified username with the specified test level; save the output to the specified directory:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests --output-dir <path to outputdir> --target-org me@my.org",
|
|
579
|
+
"Run all tests in the org asynchronously:\n<%= config.bin %> <%= command.id %> --target-org myscratch",
|
|
580
|
+
"Run all tests synchronously; the command waits to display the test results until all tests finish:\n<%= config.bin %> <%= command.id %> --synchronous",
|
|
581
|
+
"Run specific tests using the --test-level flag:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests",
|
|
582
|
+
"Run Apex tests on all the methods in the specified class; output results in Test Anything Protocol (TAP) format and request code coverage results:\n<%= config.bin %> <%= command.id %> --class-names TestA --class-names TestB --result-format tap --code-coverage",
|
|
583
|
+
"Run Apex tests on methods specified using the standard Class.method notation; if you specify a test class without a method, the command runs all methods in the class:\n<%= config.bin %> <%= command.id %> --tests TestA.excitingMethod --tests TestA.boringMethod --tests TestB",
|
|
584
|
+
"Run Apex tests on methods specified using the standard Class.method notation with a namespace:\n<%= config.bin %> <%= command.id %> --tests ns.TestA.excitingMethod --tests ns.TestA.boringMethod --tests ns.TestB"
|
|
585
|
+
],
|
|
586
|
+
"flags": {
|
|
587
|
+
"json": {
|
|
588
|
+
"description": "Format output as json.",
|
|
589
|
+
"helpGroup": "GLOBAL",
|
|
590
|
+
"name": "json",
|
|
591
|
+
"allowNo": false,
|
|
592
|
+
"type": "boolean"
|
|
593
|
+
},
|
|
594
|
+
"flags-dir": {
|
|
595
|
+
"helpGroup": "GLOBAL",
|
|
596
|
+
"name": "flags-dir",
|
|
597
|
+
"summary": "Import flag values from a directory.",
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"type": "option"
|
|
601
|
+
},
|
|
602
|
+
"target-org": {
|
|
603
|
+
"aliases": [
|
|
604
|
+
"targetusername",
|
|
605
|
+
"u"
|
|
606
|
+
],
|
|
607
|
+
"char": "o",
|
|
608
|
+
"deprecateAliases": true,
|
|
609
|
+
"name": "target-org",
|
|
610
|
+
"noCacheDefault": true,
|
|
611
|
+
"required": true,
|
|
612
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
613
|
+
"hasDynamicHelp": true,
|
|
614
|
+
"multiple": false,
|
|
615
|
+
"type": "option"
|
|
616
|
+
},
|
|
617
|
+
"api-version": {
|
|
618
|
+
"aliases": [
|
|
619
|
+
"apiversion"
|
|
620
|
+
],
|
|
621
|
+
"deprecateAliases": true,
|
|
622
|
+
"description": "Override the api version used for api requests made by this command",
|
|
623
|
+
"name": "api-version",
|
|
624
|
+
"hasDynamicHelp": false,
|
|
625
|
+
"multiple": false,
|
|
626
|
+
"type": "option"
|
|
627
|
+
},
|
|
628
|
+
"loglevel": {
|
|
629
|
+
"deprecated": {
|
|
630
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
631
|
+
},
|
|
632
|
+
"hidden": true,
|
|
633
|
+
"name": "loglevel",
|
|
634
|
+
"hasDynamicHelp": false,
|
|
635
|
+
"multiple": false,
|
|
636
|
+
"type": "option"
|
|
637
|
+
},
|
|
638
|
+
"code-coverage": {
|
|
639
|
+
"aliases": [
|
|
640
|
+
"codecoverage"
|
|
641
|
+
],
|
|
642
|
+
"char": "c",
|
|
643
|
+
"deprecateAliases": true,
|
|
644
|
+
"name": "code-coverage",
|
|
645
|
+
"summary": "Retrieve code coverage results.",
|
|
646
|
+
"allowNo": false,
|
|
647
|
+
"type": "boolean"
|
|
648
|
+
},
|
|
649
|
+
"output-dir": {
|
|
650
|
+
"aliases": [
|
|
651
|
+
"outputdir",
|
|
652
|
+
"output-directory"
|
|
653
|
+
],
|
|
654
|
+
"char": "d",
|
|
655
|
+
"deprecateAliases": true,
|
|
656
|
+
"name": "output-dir",
|
|
657
|
+
"summary": "Directory in which to store test run files.",
|
|
658
|
+
"hasDynamicHelp": false,
|
|
659
|
+
"multiple": false,
|
|
660
|
+
"type": "option"
|
|
661
|
+
},
|
|
662
|
+
"test-level": {
|
|
663
|
+
"aliases": [
|
|
664
|
+
"testlevel"
|
|
665
|
+
],
|
|
666
|
+
"char": "l",
|
|
667
|
+
"deprecateAliases": true,
|
|
668
|
+
"description": "Here's what the levels mean:\n\n- RunSpecifiedTests — Only the tests that you specify in the runTests option are run. Code coverage requirements differ from the default coverage requirements when using this test level. The executed tests must cover each class and trigger in the deployment package for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually, and is different than the overall coverage percentage.\n- RunLocalTests — All local tests in your org, including tests that originate from no-namespaced unlocked packages, are run. The tests that originate from installed managed packages and namespaced unlocked packages aren't run. This test level is the default for production deployments that include Apex classes or triggers.\n- RunAllTestsInOrg — All tests are run. The tests include all tests in your org.",
|
|
669
|
+
"name": "test-level",
|
|
670
|
+
"summary": "Level of tests to run; default is RunLocalTests.",
|
|
671
|
+
"hasDynamicHelp": false,
|
|
672
|
+
"multiple": false,
|
|
673
|
+
"options": [
|
|
674
|
+
"RunLocalTests",
|
|
675
|
+
"RunAllTestsInOrg",
|
|
676
|
+
"RunSpecifiedTests"
|
|
677
|
+
],
|
|
678
|
+
"type": "option"
|
|
679
|
+
},
|
|
680
|
+
"class-names": {
|
|
681
|
+
"aliases": [
|
|
682
|
+
"classnames"
|
|
683
|
+
],
|
|
684
|
+
"char": "n",
|
|
685
|
+
"deprecateAliases": true,
|
|
686
|
+
"description": "If you select --class-names, you can't specify --suite-names or --tests.\nFor multiple classes, repeat the flag for each.\n--class-names Class1 --class-names Class2",
|
|
687
|
+
"exclusive": [
|
|
688
|
+
"suite-names",
|
|
689
|
+
"tests"
|
|
690
|
+
],
|
|
691
|
+
"name": "class-names",
|
|
692
|
+
"summary": "Apex test class names to run; default is all classes.",
|
|
693
|
+
"delimiter": ",",
|
|
694
|
+
"hasDynamicHelp": false,
|
|
695
|
+
"multiple": true,
|
|
696
|
+
"type": "option"
|
|
697
|
+
},
|
|
698
|
+
"result-format": {
|
|
699
|
+
"aliases": [
|
|
700
|
+
"resultformat"
|
|
701
|
+
],
|
|
702
|
+
"char": "r",
|
|
703
|
+
"deprecateAliases": true,
|
|
704
|
+
"name": "result-format",
|
|
705
|
+
"summary": "Format of the test results.",
|
|
706
|
+
"default": "human",
|
|
707
|
+
"hasDynamicHelp": false,
|
|
708
|
+
"multiple": false,
|
|
709
|
+
"options": [
|
|
710
|
+
"human",
|
|
711
|
+
"tap",
|
|
712
|
+
"junit",
|
|
713
|
+
"json"
|
|
714
|
+
],
|
|
715
|
+
"type": "option"
|
|
716
|
+
},
|
|
717
|
+
"suite-names": {
|
|
718
|
+
"aliases": [
|
|
719
|
+
"suitenames"
|
|
720
|
+
],
|
|
721
|
+
"char": "s",
|
|
722
|
+
"deprecateAliases": true,
|
|
723
|
+
"description": "If you select --suite-names, you can't specify --class-names or --tests.\nFor multiple suites, repeat the flag for each.\n--suite-names Suite1 --suite-names Suite2",
|
|
724
|
+
"exclusive": [
|
|
725
|
+
"class-names",
|
|
726
|
+
"tests"
|
|
727
|
+
],
|
|
728
|
+
"name": "suite-names",
|
|
729
|
+
"summary": "Apex test suite names to run.",
|
|
730
|
+
"delimiter": ",",
|
|
731
|
+
"hasDynamicHelp": false,
|
|
732
|
+
"multiple": true,
|
|
733
|
+
"type": "option"
|
|
734
|
+
},
|
|
735
|
+
"tests": {
|
|
736
|
+
"char": "t",
|
|
737
|
+
"description": "If you specify --tests, you can't specify --class-names or --suite-names\nFor multiple tests, repeat the flag for each.\n--tests Test1 --tests Test2",
|
|
738
|
+
"exclusive": [
|
|
739
|
+
"class-names",
|
|
740
|
+
"suite-names"
|
|
741
|
+
],
|
|
742
|
+
"name": "tests",
|
|
743
|
+
"summary": "Apex test class names or IDs and, if applicable, test methods to run; default is all tests.",
|
|
744
|
+
"delimiter": ",",
|
|
745
|
+
"hasDynamicHelp": false,
|
|
746
|
+
"multiple": true,
|
|
747
|
+
"type": "option"
|
|
748
|
+
},
|
|
749
|
+
"wait": {
|
|
750
|
+
"char": "w",
|
|
751
|
+
"name": "wait",
|
|
752
|
+
"summary": "Sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently.",
|
|
753
|
+
"hasDynamicHelp": true,
|
|
754
|
+
"multiple": false,
|
|
755
|
+
"type": "option"
|
|
756
|
+
},
|
|
757
|
+
"synchronous": {
|
|
758
|
+
"char": "y",
|
|
759
|
+
"name": "synchronous",
|
|
760
|
+
"summary": "Runs test methods from a single Apex class synchronously; if not specified, tests are run asynchronously.",
|
|
761
|
+
"allowNo": false,
|
|
762
|
+
"type": "boolean"
|
|
763
|
+
},
|
|
764
|
+
"detailed-coverage": {
|
|
764
765
|
"aliases": [
|
|
765
|
-
"
|
|
766
|
+
"detailedcoverage"
|
|
767
|
+
],
|
|
768
|
+
"char": "v",
|
|
769
|
+
"dependsOn": [
|
|
770
|
+
"code-coverage"
|
|
766
771
|
],
|
|
767
772
|
"deprecateAliases": true,
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
"
|
|
772
|
-
"type": "option"
|
|
773
|
+
"name": "detailed-coverage",
|
|
774
|
+
"summary": "Display detailed code coverage per test.",
|
|
775
|
+
"allowNo": false,
|
|
776
|
+
"type": "boolean"
|
|
773
777
|
},
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
"
|
|
779
|
-
"name": "loglevel",
|
|
780
|
-
"hasDynamicHelp": false,
|
|
781
|
-
"multiple": false,
|
|
782
|
-
"type": "option"
|
|
778
|
+
"concise": {
|
|
779
|
+
"name": "concise",
|
|
780
|
+
"summary": "Display only failed test results; works with human-readable output only.",
|
|
781
|
+
"allowNo": false,
|
|
782
|
+
"type": "boolean"
|
|
783
783
|
}
|
|
784
784
|
},
|
|
785
785
|
"hasDynamicHelp": true,
|
|
786
786
|
"hiddenAliases": [],
|
|
787
|
-
"id": "apex:
|
|
787
|
+
"id": "apex:run:test",
|
|
788
788
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
789
789
|
"pluginName": "@salesforce/plugin-apex",
|
|
790
790
|
"pluginType": "core",
|
|
791
791
|
"strict": true,
|
|
792
|
-
"summary": "
|
|
792
|
+
"summary": "Invoke Apex tests in an org.",
|
|
793
793
|
"enableJsonFlag": true,
|
|
794
794
|
"isESM": true,
|
|
795
795
|
"relativePath": [
|
|
796
796
|
"lib",
|
|
797
797
|
"commands",
|
|
798
798
|
"apex",
|
|
799
|
-
"
|
|
800
|
-
"
|
|
799
|
+
"run",
|
|
800
|
+
"test.js"
|
|
801
801
|
],
|
|
802
802
|
"aliasPermutations": [
|
|
803
|
-
"force:apex:
|
|
804
|
-
"apex:force:
|
|
805
|
-
"apex:
|
|
806
|
-
"apex:
|
|
807
|
-
"force:
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"force:
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"force:apex:
|
|
816
|
-
"apex:force:
|
|
817
|
-
"apex:
|
|
818
|
-
"apex:
|
|
819
|
-
"force:
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
"
|
|
823
|
-
"force:
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
803
|
+
"force:apex:test:run",
|
|
804
|
+
"apex:force:test:run",
|
|
805
|
+
"apex:test:force:run",
|
|
806
|
+
"apex:test:run:force",
|
|
807
|
+
"force:test:apex:run",
|
|
808
|
+
"test:force:apex:run",
|
|
809
|
+
"test:apex:force:run",
|
|
810
|
+
"test:apex:run:force",
|
|
811
|
+
"force:test:run:apex",
|
|
812
|
+
"test:force:run:apex",
|
|
813
|
+
"test:run:force:apex",
|
|
814
|
+
"test:run:apex:force",
|
|
815
|
+
"force:apex:run:test",
|
|
816
|
+
"apex:force:run:test",
|
|
817
|
+
"apex:run:force:test",
|
|
818
|
+
"apex:run:test:force",
|
|
819
|
+
"force:run:apex:test",
|
|
820
|
+
"run:force:apex:test",
|
|
821
|
+
"run:apex:force:test",
|
|
822
|
+
"run:apex:test:force",
|
|
823
|
+
"force:run:test:apex",
|
|
824
|
+
"run:force:test:apex",
|
|
825
|
+
"run:test:force:apex",
|
|
826
|
+
"run:test:apex:force"
|
|
827
827
|
],
|
|
828
828
|
"permutations": [
|
|
829
|
-
"apex:
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"apex:
|
|
833
|
-
"
|
|
834
|
-
"
|
|
829
|
+
"apex:run:test",
|
|
830
|
+
"run:apex:test",
|
|
831
|
+
"run:test:apex",
|
|
832
|
+
"apex:test:run",
|
|
833
|
+
"test:apex:run",
|
|
834
|
+
"test:run:apex"
|
|
835
835
|
]
|
|
836
836
|
},
|
|
837
837
|
"apex:tail:log": {
|
|
@@ -976,7 +976,166 @@
|
|
|
976
976
|
"log:apex:tail",
|
|
977
977
|
"log:tail:apex"
|
|
978
978
|
]
|
|
979
|
+
},
|
|
980
|
+
"logic:get:test": {
|
|
981
|
+
"aliases": [],
|
|
982
|
+
"args": {},
|
|
983
|
+
"description": "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.\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.",
|
|
984
|
+
"examples": [
|
|
985
|
+
"Get the results for a specific test run ID in the default human-readable format; uses your default org:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
986
|
+
"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\":\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit --target-org my-scratch"
|
|
987
|
+
],
|
|
988
|
+
"flags": {
|
|
989
|
+
"json": {
|
|
990
|
+
"description": "Format output as json.",
|
|
991
|
+
"helpGroup": "GLOBAL",
|
|
992
|
+
"name": "json",
|
|
993
|
+
"allowNo": false,
|
|
994
|
+
"type": "boolean"
|
|
995
|
+
},
|
|
996
|
+
"flags-dir": {
|
|
997
|
+
"helpGroup": "GLOBAL",
|
|
998
|
+
"name": "flags-dir",
|
|
999
|
+
"summary": "Import flag values from a directory.",
|
|
1000
|
+
"hasDynamicHelp": false,
|
|
1001
|
+
"multiple": false,
|
|
1002
|
+
"type": "option"
|
|
1003
|
+
},
|
|
1004
|
+
"target-org": {
|
|
1005
|
+
"aliases": [
|
|
1006
|
+
"targetusername",
|
|
1007
|
+
"u"
|
|
1008
|
+
],
|
|
1009
|
+
"char": "o",
|
|
1010
|
+
"deprecateAliases": true,
|
|
1011
|
+
"name": "target-org",
|
|
1012
|
+
"noCacheDefault": true,
|
|
1013
|
+
"required": true,
|
|
1014
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1015
|
+
"hasDynamicHelp": true,
|
|
1016
|
+
"multiple": false,
|
|
1017
|
+
"type": "option"
|
|
1018
|
+
},
|
|
1019
|
+
"api-version": {
|
|
1020
|
+
"aliases": [
|
|
1021
|
+
"apiversion"
|
|
1022
|
+
],
|
|
1023
|
+
"deprecateAliases": true,
|
|
1024
|
+
"description": "Override the api version used for api requests made by this command",
|
|
1025
|
+
"name": "api-version",
|
|
1026
|
+
"hasDynamicHelp": false,
|
|
1027
|
+
"multiple": false,
|
|
1028
|
+
"type": "option"
|
|
1029
|
+
},
|
|
1030
|
+
"loglevel": {
|
|
1031
|
+
"deprecated": {
|
|
1032
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1033
|
+
},
|
|
1034
|
+
"hidden": true,
|
|
1035
|
+
"name": "loglevel",
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"multiple": false,
|
|
1038
|
+
"type": "option"
|
|
1039
|
+
},
|
|
1040
|
+
"test-run-id": {
|
|
1041
|
+
"aliases": [
|
|
1042
|
+
"testrunid"
|
|
1043
|
+
],
|
|
1044
|
+
"char": "i",
|
|
1045
|
+
"deprecateAliases": true,
|
|
1046
|
+
"name": "test-run-id",
|
|
1047
|
+
"required": true,
|
|
1048
|
+
"summary": "ID of the test run.",
|
|
1049
|
+
"hasDynamicHelp": false,
|
|
1050
|
+
"multiple": false,
|
|
1051
|
+
"type": "option"
|
|
1052
|
+
},
|
|
1053
|
+
"code-coverage": {
|
|
1054
|
+
"aliases": [
|
|
1055
|
+
"codecoverage"
|
|
1056
|
+
],
|
|
1057
|
+
"char": "c",
|
|
1058
|
+
"deprecateAliases": true,
|
|
1059
|
+
"name": "code-coverage",
|
|
1060
|
+
"summary": "Retrieve code coverage results.",
|
|
1061
|
+
"allowNo": false,
|
|
1062
|
+
"type": "boolean"
|
|
1063
|
+
},
|
|
1064
|
+
"detailed-coverage": {
|
|
1065
|
+
"dependsOn": [
|
|
1066
|
+
"code-coverage"
|
|
1067
|
+
],
|
|
1068
|
+
"name": "detailed-coverage",
|
|
1069
|
+
"summary": "Display detailed code coverage per test.",
|
|
1070
|
+
"allowNo": false,
|
|
1071
|
+
"type": "boolean"
|
|
1072
|
+
},
|
|
1073
|
+
"output-dir": {
|
|
1074
|
+
"aliases": [
|
|
1075
|
+
"outputdir",
|
|
1076
|
+
"output-directory"
|
|
1077
|
+
],
|
|
1078
|
+
"char": "d",
|
|
1079
|
+
"deprecateAliases": true,
|
|
1080
|
+
"name": "output-dir",
|
|
1081
|
+
"summary": "Directory in which to store test result files.",
|
|
1082
|
+
"hasDynamicHelp": false,
|
|
1083
|
+
"multiple": false,
|
|
1084
|
+
"type": "option"
|
|
1085
|
+
},
|
|
1086
|
+
"result-format": {
|
|
1087
|
+
"aliases": [
|
|
1088
|
+
"resultformat"
|
|
1089
|
+
],
|
|
1090
|
+
"char": "r",
|
|
1091
|
+
"deprecateAliases": true,
|
|
1092
|
+
"name": "result-format",
|
|
1093
|
+
"summary": "Format of the test results.",
|
|
1094
|
+
"default": "human",
|
|
1095
|
+
"hasDynamicHelp": false,
|
|
1096
|
+
"multiple": false,
|
|
1097
|
+
"options": [
|
|
1098
|
+
"human",
|
|
1099
|
+
"tap",
|
|
1100
|
+
"junit",
|
|
1101
|
+
"json"
|
|
1102
|
+
],
|
|
1103
|
+
"type": "option"
|
|
1104
|
+
},
|
|
1105
|
+
"concise": {
|
|
1106
|
+
"name": "concise",
|
|
1107
|
+
"summary": "Display only failed test results; works with human-readable output only.",
|
|
1108
|
+
"allowNo": false,
|
|
1109
|
+
"type": "boolean"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
"hasDynamicHelp": true,
|
|
1113
|
+
"hiddenAliases": [],
|
|
1114
|
+
"id": "logic:get:test",
|
|
1115
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
1116
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
1117
|
+
"pluginType": "core",
|
|
1118
|
+
"strict": true,
|
|
1119
|
+
"summary": "Get the results of a test run.",
|
|
1120
|
+
"enableJsonFlag": true,
|
|
1121
|
+
"isESM": true,
|
|
1122
|
+
"relativePath": [
|
|
1123
|
+
"lib",
|
|
1124
|
+
"commands",
|
|
1125
|
+
"logic",
|
|
1126
|
+
"get",
|
|
1127
|
+
"test.js"
|
|
1128
|
+
],
|
|
1129
|
+
"aliasPermutations": [],
|
|
1130
|
+
"permutations": [
|
|
1131
|
+
"logic:get:test",
|
|
1132
|
+
"get:logic:test",
|
|
1133
|
+
"get:test:logic",
|
|
1134
|
+
"logic:test:get",
|
|
1135
|
+
"test:logic:get",
|
|
1136
|
+
"test:get:logic"
|
|
1137
|
+
]
|
|
979
1138
|
}
|
|
980
1139
|
},
|
|
981
|
-
"version": "3.
|
|
1140
|
+
"version": "3.7.0"
|
|
982
1141
|
}
|