-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
2014 lines (2014 loc) · 112 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
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "vscode-catch2-test-adapter",
"displayName": "C++ TestMate",
"description": "Run GoogleTest, Catch2 and DOCtest tests from VSCode",
"icon": "resources/icon.png",
"author": "Mate Pek",
"publisher": "matepek",
"version": "4.12.2",
"license": "MIT",
"homepage": "https://github.com/matepek/vscode-catch2-test-adapter",
"repository": {
"type": "git",
"url": "https://github.com/matepek/vscode-catch2-test-adapter.git"
},
"bugs": {
"url": "https://github.com/matepek/vscode-catch2-test-adapter/issues"
},
"categories": [
"Testing"
],
"keywords": [
"testmate",
"c++",
"test",
"testing",
"unit test",
"catch2",
"catchorg",
"gtest",
"googletest",
"google test",
"gmock",
"googlemock",
"google mock",
"doctest",
"onqtam",
"google benchmark",
"gbenchmark"
],
"main": "out/dist/main.js",
"scripts": {
"reinstall": "rimraf node_modules package-lock.json && npm install",
"clean": "rimraf out node_modules vscode-catch2-test-adapter-*.vsix",
"watch": "tsc -watch -p ./tsconfig.json",
"compile": "tsc -p ./tsconfig.json",
"test": "node ./out/test/runTests.js",
"pretest": "npm run compile",
"package": "vsce package",
"deploy": "node ./out/test/repo_scripts/deploy.js",
"vscode:prepublish": "webpack --config webpack.config.js --mode production",
"webpack": "webpack --config webpack.config.js --mode development"
},
"extensionDependencies": [],
"dependencies": {
"@types/htmlparser2": "^3.10.7",
"ansi-colors": "^4.1.3",
"find-process": "^1.4.7",
"gaze": "^1.1.3",
"tslib": "^2.6.2",
"vscode-test-adapter-util": "^0.7.1"
},
"devDependencies": {
"@types/bent": "^7.3.8",
"@types/chai": "^4.3.11",
"@types/deep-equal": "^1.0.4",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.5",
"@types/request-promise": "4.1.51",
"@types/sinon": "^17.0.2",
"@types/source-map-support": "^0.5.10",
"@vscode/vsce": "^2.19.0",
"@types/vscode": "1.82.0",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@vscode/test-electron": "^2.3.8",
"bent": "^7.3.12",
"deep-equal": "^2.2.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "5.1.2",
"fs-extra": "^11.2.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"mocha-eslint": "^7.0.0",
"object-hash": "^3.0.0",
"prettier": "^3.1.1",
"raw-loader": "^4.0.2",
"sinon": "^17.0.1",
"source-map-support": "^0.5.21",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4"
},
"engines": {
"vscode": "^1.82.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "testMate.cmd.reload-tests",
"title": "Reload tests by C++ TestMate",
"category": "Test"
},
{
"command": "testMate.cmd.reload-workspaces",
"title": "Reload workspaces (in case of an issue) by C++ TestMate",
"category": "Test"
}
],
"configuration": {
"type": "object",
"title": "C++ TestMate",
"$comment": "Enums will cause that the vscode will offer auto-completion.",
"properties": {
"testMate.cpp.test.executables": {
"markdownDescription": "A [glob pattern](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) to find test executables. (Relative to the workspace folder or absolute path.) Empty string means disabled. For more option set [testMate.cpp.test.advancedExecutables](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md) instead of this. NOTE: if `testMate.cpp.test.advancedExecutables` is set then this is ignored.",
"scope": "resource",
"type": "string",
"default": "{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}*"
},
"testMate.cpp.test.advancedExecutables": {
"markdownDescription": "Array of executables with a lot of options. (If this is set then `testMate.cpp.test.executables` is ignored.) ([Details](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)).",
"scope": "resource",
"type": "array",
"items": {
"markdownDescription": "An object which describes an executable-set with settings. ([Details](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md))",
"type": "object",
"additionalProperties": false,
"properties": {
"comment": {
"markdownDescription": "One can wite comments here about the config just like using $comment",
"type": "string"
},
"pattern": {
"markdownDescription": "A relative (to workspace directory) or an absolute path or [_glob pattern_](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options). ⚠️**Avoid backslash!**: NO `\\\\`; (required) [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"anyOf": [
{
"type": "string",
"enum": [
"{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}*",
"{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}*.exe",
"${command:cmake.buildDirectory}/**/*{test,Test,TEST}*"
],
"minLength": 1
},
{
"type": "string",
"minLength": 1
}
]
},
"exclude": {
"markdownDescription": "Setting path like `files.watcherExclude` to use for test lookup.",
"default": null,
"anyOf": [
{
"type": "string",
"enum": [
"files.watcherExclude",
"files.exclude",
"search.exclude"
]
},
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"name": {
"markdownDescription": "The name of the test suite (file). Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"anyOf": [
{
"type": "string",
"enum": [
"${filename}",
"${relPath}",
"${absPath}"
]
},
{
"type": "string",
"minLength": 1
}
]
},
"description": {
"markdownDescription": "A less prominent text after the `name`. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"anyOf": [
{
"type": "string",
"enum": [
"${relDirpath}/",
"${absDirpath}/"
]
},
{
"type": "string"
}
]
},
"cwd": {
"markdownDescription": "The current working directory for the test executable. If it isn't provided and `test.workingDirectory` does then that will be used. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"anyOf": [
{
"type": "string",
"enum": [
"${absDirpath}",
"${relDirpath}",
"${workspaceDirectory}",
"${workspaceFolder}"
]
},
{
"type": "string",
"minLength": 1
}
]
},
"env": {
"markdownDescription": "Environment variables for the test executable. Can contains variables related to `pattern` and variables related to the process's environment variables (Ex.: `${os_env:PATH}`). [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string",
"enum": [
"${absPath}",
"${relPath}",
"${absDirpath}",
"${relDirpath}",
"${filename}",
"${baseFilename}",
"${extFilename}",
"${workspaceDirectory}",
"${workspaceFolder}",
"${workspaceName}",
"${cwd}",
"${os_env:PATH}"
]
},
{
"type": "string",
"minLength": 1
}
]
}
},
"envFile": {
"markdownDescription": "File containing environment variables for the test executable. (JSON object or .env file) [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "string"
},
"executionWrapper": {
"markdownDescription": "Specifies an executor which wraps the executions. Useful for emulators. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"description": "The path of the executor",
"type": "string"
},
"args": {
"description": "An array wich specifies the arguments of the executor. It should contain '${cmd}', '${argsFlat}' and '${argsStr}' too. Default: ['${cmd}', '${argsFlat}'].",
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"${cmd}",
"${argsFlat}",
"${argsStr}"
]
},
{
"type": "string",
"minLength": 0
}
]
},
"minItems": 2
}
},
"required": [
"path"
]
},
"sourceFileMap": {
"markdownDescription": "Replaces the key with the value in the souce file path. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"dependsOn": {
"markdownDescription": "Array of (relative / absolute) _paths_ / [_glob pattern_](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) (string[]). If a related file is _changed/created/deleted_ and autorun is enabled in \"...\" menu it will run the related executables. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"runTask": {
"markdownDescription": "Tasks to run before running/debugging tests. The task should be defined like any other task in vscode (e.g. in tasks.json). If the task exits with a non-zero code, execution of tests will be halted. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "object",
"additionalProperties": false,
"properties": {
"before": {
"markdownDescription": "Name of the tasks to execute before running/debugging test-set. Test executable names are accessible using: - `${absPathArrayFlat}: add this to 'args' array; - ${absPathConcatWithSpace}`",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"beforeEach": {
"markdownDescription": "Name of the tasks to execute before running/debugging each executables. Variables like `${absPath}` will be substituted before running the task.`",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"after": {
"markdownDescription": "Name of the tasks to execute after running/debugging test-set. Test executable names are accessible using: - `${absPathArrayFlat}: add this to 'args' array; - ${absPathConcatWithSpace}``",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"afterEach": {
"markdownDescription": "Name of the tasks to execute after running/debugging each executables. Variables like `${absPath}` will be substituted before running the task.`",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
}
},
"parallelizationLimit": {
"markdownDescription": "The variable maximize the number of the parallel execution of one executable instance. Note: `testMate.cpp.test.parallelExecutionLimit` is a global limit. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "integer",
"default": 1,
"minimum": 1
},
"strictPattern": {
"markdownDescription": "Test loading fails if one of the files matched by `pattern` is not a test executable. (Helps noticing unexpected crashes/problems under test loading.)",
"type": "boolean",
"default": false
},
"markAsSkipped": {
"markdownDescription": "If true then all the tests related to the pattern are skipped. They can be run manually though.",
"type": "boolean",
"default": false
},
"executableCloning": {
"markdownDescription": "If enabled it creates a copy of the test executable before listing or running the tests. NOTE: discovery (`--help`) still uses the original file.",
"type": "boolean",
"default": false
},
"debug.configTemplate": {
"markdownDescription": "Sets the necessary debug configurations and the debug button will work.",
"scope": "resource",
"default": null,
"oneOf": [
{
"type": "string",
"pattern": "^(extensionOnly|name:.+)$"
},
{
"type": "object",
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"additionalProperties": {
"anyOf": [
{
"type": "string",
"enum": [
"${exec}",
"${argsArray}",
"${argsArrayFlat}",
"${argsStr}",
"${cwd}",
"${envObj}",
"${envObjArray}",
"${sourceFileMapObj}",
"${label}",
"${parentLabel}"
]
},
{
"type": "string"
},
{
"type": "array"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "number"
},
{
"type": "object"
}
]
}
},
{
"type": "null"
}
]
},
"executableSuffixToInclude": {
"markdownDescription": "Filter files based on suffix for faster discovery.",
"type": "array",
"items": {
"type": "string"
}
},
"waitForBuildProcess": {
"markdownDescription": "Prevents the extension of auto-reloading. With this linking failure might can be avoided. Can be true to use a default pattern that works for most cases, or a string to pass your own search pattern (regex) for processes.",
"type": [
"boolean",
"string"
],
"default": false
},
"testGrouping": {
"markdownDescription": "Groups the tests inside the executable. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"additionalProperties": false,
"properties": {
"groupByLabel": {
"markdownDescription": "Groups tests by the given label. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "The label of the test executable. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "A less prominent text after the `label`. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
}
}
},
"groupByExecutable": {
"markdownDescription": "Groups tests by the executable file. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "The label of the test executable. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "A less prominent text after the `label`. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"mergeByLabel": {
"markdownDescription": "By default the executables are distiguished so they have distinct tree-item, unless we set this option to true.",
"type": "boolean"
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupBySource": {
"markdownDescription": "Groups the tests by the source file. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "Label of the group. Can be indexed. (`${sourceRelPath}`, `${sourceAbsPath}`). [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "Less prominent text next to label. Can be indexed. (`${sourceRelPath}`, `${sourceAbsPath}`). [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupByTags": {
"markdownDescription": "Group test by tags. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"tags": {
"markdownDescription": "True to group by every exiting combination of the tags. Or it can be an array of tags: `[\"[tag1][tag2]\", \"tag2\", \"tag3\"]` [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"tagFormat": {
"type": "string",
"pattern": "\\$\\{tag\\}"
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupByTagRegex": {
"markdownDescription": "Groups tests by the first match group of the first matching regex. (`${match}`, `${match_lowercased}`, `${match_upperfirst}`) Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"regexes": {
"markdownDescription": "Groups by the first match group (enclosed by parentheses like this). of the first matching [regex](https://regex101.com/). Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
},
"required": [
"regexes"
]
},
"groupByRegex": {
"markdownDescription": "Groups tests by the first match group of the first matching regex. (`${match}`, `${match_lowercased}`, `${match_upperfirst}`) Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"regexes": {
"markdownDescription": "Groups by the first match group (enclosed by parentheses like this). of the first matching [regex](https://regex101.com/). Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
},
"required": [
"regexes"
]
}
}
},
"darwin": {
"markdownDescription": "Overrides the parent's properties on the given OS.",
"type": "object",
"additionalProperties": true
},
"linux": {
"markdownDescription": "Overrides the parent's properties on the given OS.",
"type": "object",
"additionalProperties": true
},
"win32": {
"markdownDescription": "Overrides the parent's properties on the given OS.",
"type": "object",
"additionalProperties": true
},
"catch2": {
"markdownDescription": "Object with framework specific settings. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#framework-specific-settings)",
"type": "object",
"additionalProperties": false,
"properties": {
"helpRegex": {
"markdownDescription": "A javascript [regex](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) which will be used to recognise the framework. Flags: `su`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "string",
"minLength": 1
},
"prependTestRunningArgs": {
"markdownDescription": "Additinal argument array passed to the executable when it is called for testing. Good for experimental features like `[\"--benchmark-samples\", \"10\"]`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "array",
"items": {
"type": "string"
}
},
"prependTestListingArgs": {
"markdownDescription": "Additinal argument array passed to the executable when it is called for test listing. (Discouraged. Try to use environment variables to pass values.) [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "array",
"items": {
"type": "string"
}
},
"ignoreTestEnumerationStdErr": {
"markdownDescription": "If false (or undefined) and there are something on `stderr` then test-listing will fail. Otherwise it will ignore the `stderr` and test listing will try to parse the `stdout`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "boolean"
},
"debug.enableOutputColouring": {
"markdownDescription": "Sets the colouring of the output for debug session.",
"type": "boolean"
},
"failIfExceedsLimitNs": {
"markdownDescription": "Sets `cpu_time` limit for **gbenchmark**. (unit: nanoseconds)",
"type": "number"
},
"testGrouping": {
"markdownDescription": "Groups the tests inside the executable. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"additionalProperties": false,
"properties": {
"groupByLabel": {
"markdownDescription": "Groups tests by the given label. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "The label of the test executable. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "A less prominent text after the `label`. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
}
}
},
"groupByExecutable": {
"markdownDescription": "Groups tests by the executable file. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "The label of the test executable. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "A less prominent text after the `label`. Can contains variables related to `pattern`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"mergeByLabel": {
"markdownDescription": "By default the executables are distiguished so they have distinct tree-item, unless we set this option to true.",
"type": "boolean"
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupBySource": {
"markdownDescription": "Groups the tests by the source file. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"markdownDescription": "Label of the group. Can be indexed. (`${sourceRelPath}`, `${sourceAbsPath}`). [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"description": {
"markdownDescription": "Less prominent text next to label. Can be indexed. (`${sourceRelPath}`, `${sourceAbsPath}`). [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string"
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupByTags": {
"markdownDescription": "Group test by tags. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"tags": {
"markdownDescription": "True to group by every exiting combination of the tags. Or it can be an array of tags: `[\"[tag1][tag2]\", \"tag2\", \"tag3\"]` [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"tagFormat": {
"type": "string",
"pattern": "\\$\\{tag\\}"
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
}
},
"groupByTagRegex": {
"markdownDescription": "Groups tests by the first match group of the first matching regex. (`${match}`, `${match_lowercased}`, `${match_upperfirst}`) Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"regexes": {
"markdownDescription": "Groups by the first match group (enclosed by parentheses like this). of the first matching [regex](https://regex101.com/). Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
},
"required": [
"regexes"
]
},
"groupByRegex": {
"markdownDescription": "Groups tests by the first match group of the first matching regex. (`${match}`, `${match_lowercased}`, `${match_upperfirst}`) Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"regexes": {
"markdownDescription": "Groups by the first match group (enclosed by parentheses like this). of the first matching [regex](https://regex101.com/). Example: `[\"(?:good|bad) (apple|peach)\"]` will create 2 groups and put the matched tests inside it. Hint: Grouping starting with \"?:\" won't count as a match group. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"groupUngroupedTo": {
"markdownDescription": "Ungroupable elements will be grouped under the given value. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#testgrouping)",
"type": "string",
"minLength": 1
},
"groupByLabel": {
"type": "object"
},
"groupByExecutable": {
"type": "object"
},
"groupBySource": {
"type": "object"
},
"groupByTags": {
"type": "object"
},
"groupByTagRegex": {
"type": "object"
},
"groupByRegex": {
"type": "object"
}
},
"required": [
"regexes"
]
}
}
}
}
},
"gtest": {
"markdownDescription": "Object with framework specific settings. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md#framework-specific-settings)",
"type": "object",
"additionalProperties": false,
"properties": {
"helpRegex": {
"markdownDescription": "A javascript [regex](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) which will be used to recognise the framework. Flags: `su`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "string",
"minLength": 1
},
"prependTestRunningArgs": {
"markdownDescription": "Additinal argument array passed to the executable when it is called for testing. Good for experimental features like `[\"--benchmark-samples\", \"10\"]`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "array",
"items": {
"type": "string"
}
},
"prependTestListingArgs": {
"markdownDescription": "Additinal argument array passed to the executable when it is called for test listing. (Discouraged. Try to use environment variables to pass values.) [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "array",
"items": {
"type": "string"
}
},
"ignoreTestEnumerationStdErr": {
"markdownDescription": "If false (or undefined) and there are something on `stderr` then test-listing will fail. Otherwise it will ignore the `stderr` and test listing will try to parse the `stdout`. [Detail](https://github.com/matepek/vscode-catch2-test-adapter/blob/master/documents/configuration/test.advancedExecutables.md)",
"type": "boolean"
},