-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
696 lines (696 loc) · 20.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
{
"name": "vscode-test-explorer",
"displayName": "Test Explorer UI",
"description": "Run your tests in the Sidebar of Visual Studio Code",
"icon": "icon.png",
"author": "Holger Benl <[email protected]>",
"publisher": "hbenl",
"version": "2.22.1",
"license": "MIT",
"homepage": "https://github.com/hbenl/vscode-test-explorer",
"repository": {
"type": "git",
"url": "https://github.com/hbenl/vscode-test-explorer.git"
},
"bugs": {
"url": "https://github.com/hbenl/vscode-test-explorer/issues"
},
"categories": [
"Other"
],
"keywords": [
"test",
"testing"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"main": "out/main.js",
"scripts": {
"reinstall": "rimraf node_modules package-lock.json && npm install",
"clean": "rimraf out vscode-test-explorer-*.vsix",
"build": "tsc",
"watch": "tsc -w",
"rebuild": "npm run clean && npm run build",
"package": "vsce package",
"publish": "vsce publish"
},
"extensionDependencies": [
"ms-vscode.test-adapter-converter"
],
"dependencies": {
"escape-string-regexp": "^4.0.0",
"tslib": "^2.3.0",
"vscode-test-adapter-api": "^1.9.0"
},
"devDependencies": {
"@types/node": "^14.17.9",
"@types/vscode": "~1.59.0",
"rimraf": "^3.0.2",
"typescript": "^4.3.5",
"vsce": "^1.96.1"
},
"engines": {
"vscode": "^1.59.0"
},
"activationEvents": [
"*"
],
"contributes": {
"colors": [
{
"id": "testExplorer.errorDecorationBackground",
"description": "Background color of the editor error decoration",
"defaults": {
"dark": "inputValidation.errorBackground",
"light": "inputValidation.errorBackground",
"highContrast": "inputValidation.errorBackground"
}
}
],
"configuration": {
"type": "object",
"title": "Test Explorer",
"properties": {
"testExplorer.onStart": {
"description": "Retire or reset all test states whenever a test run is started",
"type": [
"string",
"null"
],
"enum": [
"retire",
"reset",
null
],
"enumDescriptions": [
"Retire all test states whenever a test run is started",
"Reset all test states whenever a test run is started",
"Don't change the test states when a test run is started"
],
"default": null,
"scope": "resource"
},
"testExplorer.onReload": {
"description": "Retire or reset all test states whenever the test tree is reloaded",
"type": [
"string",
"null"
],
"enum": [
"retire",
"reset",
null
],
"enumDescriptions": [
"Retire all test states whenever the test tree is reloaded",
"Reset all test states whenever the test tree is reloaded",
"Don't change the test states when the test tree is reloaded"
],
"default": null,
"scope": "resource"
},
"testExplorer.codeLens": {
"description": "Show a CodeLens above each test or suite for running or debugging the tests",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.gutterDecoration": {
"description": "Show the state of each test in the editor using Gutter Decorations",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.errorDecoration": {
"description": "Show error messages from test failures as decorations in the editor",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.errorDecorationHover": {
"description": "Provide hover messages for the error decorations in the editor",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.sort": {
"description": "Sort the tests and suites by label or location. If this is not set (or set to null), they will be shown in the order that they were received from the adapter",
"type": [
"string",
"null"
],
"enum": [
"byLabel",
"byLocation",
"byLabelWithSuitesFirst",
"byLocationWithSuitesFirst",
null
],
"enumDescriptions": [
"sort by label",
"sort by location (filename and line), if multiple tests or suites appear at the same location, they are sorted by label",
"sort by label, but always put the suites on top",
"sort by location, but always put the suites on top",
"don't sort, the tests and suites will be shown in the order that they were received from the adapter"
],
"default": null,
"scope": "resource"
},
"testExplorer.showExpandButton": {
"description": "Show a button for expanding the top nodes of the test tree, recursively for the given number of levels",
"type": "number",
"default": 3,
"scope": "resource"
},
"testExplorer.showCollapseButton": {
"description": "Show a button for collapsing the nodes of the test tree",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.addToEditorContextMenu": {
"description": "Add menu items to the editor context menu for running and debugging the tests in the current file",
"type": "boolean",
"default": false,
"scope": "resource"
},
"testExplorer.showOnRun": {
"description": "Switch to the Test Explorer view whenever a test run is started",
"type": "boolean",
"default": false,
"scope": "resource"
},
"testExplorer.mergeSuites": {
"description": "Merge suites with the same label and parent",
"type": "boolean",
"default": false,
"scope": "resource"
},
"testExplorer.hideEmptyLog": {
"description": "Hide the output channel used to show a test's log when the user clicks on a test whose log is empty",
"type": "boolean",
"default": true,
"scope": "resource"
},
"testExplorer.hideWhen": {
"description": "Hide the Test Explorer when no test adapters have been registered or when no tests have been found",
"type": "string",
"enum": [
"never",
"noAdapters",
"noTests"
],
"default": "never",
"scope": "resource"
},
"testExplorer.useNativeTesting": {
"description": "Disable the Test Explorer UI and use VSCode's native Testing UI instead",
"type": "boolean",
"default": true,
"scope": "resource"
}
}
},
"views": {
"test": [
{
"id": "test-explorer",
"name": "Test Explorer",
"when": "testExplorerVisible"
}
]
},
"commands": [
{
"command": "test-explorer.reload",
"title": "Test Explorer: Reload tests",
"icon": {
"dark": "./icons/reload-dark.svg",
"light": "./icons/reload-light.svg"
}
},
{
"command": "test-explorer.reload-collection",
"title": "Reload tests"
},
{
"command": "test-explorer.reloading",
"title": "Test Explorer: Reloading tests",
"icon": {
"dark": "./icons/reloading-dark.svg",
"light": "./icons/reloading-light.svg"
}
},
{
"command": "test-explorer.run-all",
"title": "Test Explorer: Run all tests",
"icon": {
"dark": "./icons/start-dark.svg",
"light": "./icons/start-light.svg"
}
},
{
"command": "test-explorer.run",
"title": "Run tests",
"icon": {
"dark": "./icons/start-dark.svg",
"light": "./icons/start-light.svg"
}
},
{
"command": "test-explorer.pick-and-run",
"title": "Run tests"
},
{
"command": "test-explorer.rerun",
"title": "Test Explorer: Repeat the last test run"
},
{
"command": "test-explorer.run-file",
"title": "Test Explorer: Run tests in current file"
},
{
"command": "test-explorer.run-test-at-cursor",
"title": "Test Explorer: Run the test at the current cursor position"
},
{
"command": "test-explorer.run-this-file",
"title": "Run all tests in this file"
},
{
"command": "test-explorer.run-this-test",
"title": "Run this test"
},
{
"command": "test-explorer.debug-all",
"title": "Test Explorer: Debug all tests",
"icon": {
"dark": "./icons/debug-dark.svg",
"light": "./icons/debug-light.svg"
}
},
{
"command": "test-explorer.debug",
"title": "Debug this test",
"icon": {
"dark": "./icons/debug-dark.svg",
"light": "./icons/debug-light.svg"
}
},
{
"command": "test-explorer.pick-and-debug",
"title": "Debug this test"
},
{
"command": "test-explorer.redebug",
"title": "Test Explorer: Repeat the last test run in the debugger"
},
{
"command": "test-explorer.debug-file",
"title": "Test Explorer: Debug tests in current file"
},
{
"command": "test-explorer.debug-test-at-cursor",
"title": "Test Explorer: Debug the test at the current cursor position"
},
{
"command": "test-explorer.debug-this-test",
"title": "Debug this test"
},
{
"command": "test-explorer.cancel",
"title": "Test Explorer: Cancel running tests",
"icon": "./icons/stop.svg"
},
{
"command": "test-explorer.show-log",
"title": "Show test log"
},
{
"command": "test-explorer.show-error",
"title": "Show error message"
},
{
"command": "test-explorer.show-source",
"title": "Show source",
"icon": {
"dark": "./icons/open-file-dark.svg",
"light": "./icons/open-file-light.svg"
}
},
{
"command": "test-explorer.enable-autorun",
"title": "Enable autorun"
},
{
"command": "test-explorer.disable-autorun",
"title": "Disable autorun"
},
{
"command": "test-explorer.retire",
"title": "Retire test states"
},
{
"command": "test-explorer.reset",
"title": "Reset test states"
},
{
"command": "test-explorer.reveal",
"title": "Reveal the given node"
},
{
"command": "test-explorer.expand",
"title": "Expand the top nodes of the test tree",
"icon": {
"dark": "./icons/expand-all-dark.svg",
"light": "./icons/expand-all-light.svg"
}
},
{
"command": "test-explorer.sort-by-label",
"title": "Sort by label"
},
{
"command": "test-explorer.sort-by-location",
"title": "Sort by location"
},
{
"command": "test-explorer.sort-by-label-with-suites-first",
"title": "Sort by label with suites on top"
},
{
"command": "test-explorer.sort-by-location-with-suites-first",
"title": "Sort by location with suites on top"
},
{
"command": "test-explorer.dont-sort",
"title": "No sorting"
}
],
"menus": {
"view/title": [
{
"command": "test-explorer.run-all",
"group": "navigation@1",
"when": "view == test-explorer && !testsRunning"
},
{
"command": "test-explorer.cancel",
"group": "navigation@2",
"when": "view == test-explorer && testsRunning"
},
{
"command": "test-explorer.reload",
"group": "navigation@3",
"when": "view == test-explorer && !testsLoading"
},
{
"command": "test-explorer.reloading",
"group": "navigation@4",
"when": "view == test-explorer && testsLoading"
},
{
"command": "test-explorer.expand",
"group": "navigation@5",
"when": "view == test-explorer && showTestExplorerExpandButton"
},
{
"command": "test-explorer.enable-autorun",
"group": "1_autorun@1",
"when": "view == test-explorer"
},
{
"command": "test-explorer.disable-autorun",
"group": "1_autorun@2",
"when": "view == test-explorer"
},
{
"command": "test-explorer.retire",
"group": "2_state@1",
"when": "view == test-explorer"
},
{
"command": "test-explorer.reset",
"group": "2_state@2",
"when": "view == test-explorer"
},
{
"command": "test-explorer.sort-by-label",
"group": "3_sort@1",
"when": "view == test-explorer"
},
{
"command": "test-explorer.sort-by-location",
"group": "3_sort@2",
"when": "view == test-explorer"
},
{
"command": "test-explorer.sort-by-label-with-suites-first",
"group": "3_sort@3",
"when": "view == test-explorer"
},
{
"command": "test-explorer.sort-by-location-with-suites-first",
"group": "3_sort@4",
"when": "view == test-explorer"
},
{
"command": "test-explorer.dont-sort",
"group": "3_sort@5",
"when": "view == test-explorer"
}
],
"view/item/context": [
{
"command": "test-explorer.run",
"group": "inline@2",
"when": "view == test-explorer && viewItem != error"
},
{
"command": "test-explorer.debug",
"group": "inline@1",
"when": "view == test-explorer && viewItem == debuggableSuiteWithSource"
},
{
"command": "test-explorer.debug",
"group": "inline@1",
"when": "view == test-explorer && viewItem == debuggableSuite"
},
{
"command": "test-explorer.debug",
"group": "inline@1",
"when": "view == test-explorer && viewItem == debuggableTestWithSource"
},
{
"command": "test-explorer.debug",
"group": "inline@1",
"when": "view == test-explorer && viewItem == debuggableTest"
},
{
"command": "test-explorer.show-source",
"group": "inline@3",
"when": "view == test-explorer && viewItem == debuggableSuiteWithSource"
},
{
"command": "test-explorer.show-source",
"group": "inline@3",
"when": "view == test-explorer && viewItem == suiteWithSource"
},
{
"command": "test-explorer.show-source",
"group": "inline@3",
"when": "view == test-explorer && viewItem == debuggableTestWithSource"
},
{
"command": "test-explorer.show-source",
"group": "inline@3",
"when": "view == test-explorer && viewItem == testWithSource"
},
{
"command": "test-explorer.reload-collection",
"group": "1_reload",
"when": "view == test-explorer && viewItem == collection"
},
{
"command": "test-explorer.reload-collection",
"group": "1_reload",
"when": "view == test-explorer && viewItem == error"
},
{
"command": "test-explorer.enable-autorun",
"group": "4_autorun@4",
"when": "view == test-explorer && viewItem != error"
},
{
"command": "test-explorer.disable-autorun",
"group": "4_autorun@5",
"when": "view == test-explorer && viewItem != error"
},
{
"command": "test-explorer.retire",
"group": "5_state@6",
"when": "view == test-explorer && viewItem != error"
},
{
"command": "test-explorer.reset",
"group": "5_state@7",
"when": "view == test-explorer && viewItem != error"
}
],
"editor/context": [
{
"command": "test-explorer.run-this-file",
"group": "a_testexplorer@1",
"when": "showTestExplorerEditorContextMenu"
},
{
"command": "test-explorer.run-this-test",
"group": "a_testexplorer@2",
"when": "showTestExplorerEditorContextMenu"
},
{
"command": "test-explorer.debug-this-test",
"group": "a_testexplorer@3",
"when": "showTestExplorerEditorContextMenu"
}
],
"commandPalette": [
{
"command": "test-explorer.reload",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.reload-collection",
"when": "false"
},
{
"command": "test-explorer.reloading",
"when": "false"
},
{
"command": "test-explorer.run-all",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.run",
"when": "false"
},
{
"command": "test-explorer.pick-and-run",
"when": "false"
},
{
"command": "test-explorer.rerun",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.run-file",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.run-test-at-cursor",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.run-this-file",
"when": "false"
},
{
"command": "test-explorer.run-this-test",
"when": "false"
},
{
"command": "test-explorer.debug-all",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.debug",
"when": "false"
},
{
"command": "test-explorer.pick-and-debug",
"when": "false"
},
{
"command": "test-explorer.redebug",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.debug-file",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.debug-test-at-cursor",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.debug-this-test",
"when": "false"
},
{
"command": "test-explorer.cancel",
"when": "testExplorerVisible"
},
{
"command": "test-explorer.show-log",
"when": "false"
},
{
"command": "test-explorer.show-error",
"when": "false"
},
{
"command": "test-explorer.show-source",
"when": "false"
},
{
"command": "test-explorer.enable-autorun",
"when": "false"
},
{
"command": "test-explorer.disable-autorun",
"when": "false"
},
{
"command": "test-explorer.retire",
"when": "false"
},
{
"command": "test-explorer.reset",
"when": "false"
},
{
"command": "test-explorer.reveal",
"when": "false"
},
{
"command": "test-explorer.expand",
"when": "showTestExplorerExpandButton"
},
{
"command": "test-explorer.sort-by-label",
"when": "false"
},
{
"command": "test-explorer.sort-by-location",
"when": "false"
},
{
"command": "test-explorer.sort-by-label-with-suites-first",
"when": "false"
},
{
"command": "test-explorer.sort-by-location-with-suites-first",
"when": "false"
},
{
"command": "test-explorer.dont-sort",
"when": "false"
}
]
}
}
}