forked from numaru/vscode-ceedling-test-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
242 lines (242 loc) · 8.38 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
{
"name": "vscode-ceedling-test-adapter",
"displayName": "Ceedling Test Explorer",
"description": "Run your Ceedling tests in the Sidebar of Visual Studio Code",
"icon": "img/icon.png",
"author": {
"name": "Kin Numaru"
},
"publisher": "numaru",
"version": "1.9.1",
"license": "MIT",
"homepage": "https://github.com/numaru/vscode-ceedling-test-adapter",
"repository": {
"type": "git",
"url": "https://github.com/numaru/vscode-ceedling-test-adapter.git"
},
"bugs": {
"url": "https://github.com/numaru/vscode-ceedling-test-adapter/issues"
},
"categories": [
"Other"
],
"keywords": [
"ceedling",
"test",
"testing"
],
"main": "out/src/main.js",
"scripts": {
"clean": "rimraf out *.vsix",
"build": "tsc",
"watch": "tsc -w",
"rebuild": "npm run clean && npm run build",
"package": "tsc; vsce package",
"publish": "tsc; vsce publish",
"test": "tsc -p test.tsconfig.json && node ./out/tests/integration/main.js"
},
"dependencies": {
"@types/js-yaml": "^3.12.0",
"@types/xml2js": "^0.4.3",
"async-mutex": "^0.1.3",
"js-yaml": "^3.13.1",
"tree-kill": "^1.2.2",
"tslib": "^1.9.3",
"vscode-test-adapter-api": "^1.2.0",
"vscode-test-adapter-util": "^0.5.1",
"xml2js": "^0.4.19"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.0",
"@types/vscode": "^1.23.0",
"@vscode/test-electron": "^2.1.3",
"glob": "^7.1.6",
"mocha": "^8.3.0",
"typescript": "^4.6.3",
"vsce": "^1.57.0",
"vscode-test": "^1.5.1"
},
"engines": {
"vscode": "^1.23.0"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Ceedling Test Explorer configuration",
"properties": {
"ceedlingExplorer.projectPath": {
"description": "Path to the Ceedling project directory",
"type": "string",
"default": ".",
"scope": "resource"
},
"ceedlingExplorer.shellPath": {
"description": "Path to the shell where Ceedling is installed",
"type": "string",
"default": "null",
"scope": "resource"
},
"ceedlingExplorer.debugConfiguration": {
"description": "Debug configuration to run during test debug.",
"type": "string",
"scope": "resource"
},
"ceedlingExplorer.prettyTestLabel": {
"markdownDescription": "Test label is prettier in the test explorer, that mean the label is shorter and without begin prefix. E.g. inactive `test_BlinkTaskShouldToggleLed`, active `BlinkTaskShouldToggleLed`",
"type": "boolean",
"default": true,
"scope": "resource"
},
"ceedlingExplorer.prettyTestFileLabel": {
"markdownDescription": "Test file label is prettier in the test explorer, that mean the label is shorter, without begin prefix, path and file type. E.g. inactive `test/LEDs/test_BlinkTask.c`, active `BlinkTask`",
"type": "boolean",
"default": true,
"scope": "resource"
},
"ceedlingExplorer.testCommandArgs": {
"markdownDescription": "The command line arguments used to run the Ceedling tests",
"type": "array",
"default": [
"test:${TEST_ID}"
],
"scope": "resource"
},
"ceedlingExplorer.problemMatching": {
"markdownDescription": "Configuration of mechanism that scans Ceedling output text for known error/warning/info strings and reports these inline in the editor and in the Problems panel. The mechanism tries to resemble the one used in VSCode Tasks problemMatchers.",
"type": "object",
"scope": "resource",
"properties": {
"mode": {
"description": "Mode of problem matching. It is either disabled, uses preset (i.e. gcc) or uses custom patterns from patterns array.",
"type": "string",
"enum": [
"disabled",
"patterns",
"gcc"
],
"default": "disabled"
},
"patterns": {
"description": "Array of custom pattern objects used for problem matching.",
"type": "array",
"default": [],
"items": {
"type": "object",
"title": "Problem matching pattern.",
"required": [
"regexp",
"message",
"file"
],
"properties": {
"scanStdout": {
"description": "Scan stdout output for problems.",
"type": "boolean",
"default": false
},
"scanStderr": {
"description": "Scan stderr output for problems.",
"type": "boolean",
"default": true
},
"severity": {
"description": "Severity of messages found by this pattern.",
"type": "string",
"enum": [
"error",
"warning",
"info"
],
"default": "info"
},
"filePrefix": {
"markdownDescription": "Used to determine file's absolute path if file location is relative. ${projectPath} replaced with project path. Not used if empty or not defined.",
"type": "string",
"default": ""
},
"regexp": {
"description": "The regular expression that is used to find an error, warning or info in the output line.",
"type": "string"
},
"message": {
"description": "Index of the problem's message in the regular expression.",
"type": "integer"
},
"file": {
"description": "Index of the problem's filename in the regular expression.",
"type": "integer"
},
"line": {
"description": "Index of the problem's (first) line in the regular expression. Not used if null or not defined.",
"type": [
"integer",
"null"
],
"default": null
},
"lastLine": {
"description": "Index of the problem's last line in the regular expression. Not used if null or not defined.",
"type": [
"integer",
"null"
],
"default": null
},
"column": {
"description": "Index of the problem's (first) column in the regular expression. Not used if null or not defined.",
"type": [
"integer",
"null"
],
"default": null
},
"lastColumn": {
"description": "Index of the problem's last column in the regular expression. Not used if null or not defined.",
"type": [
"integer",
"null"
],
"default": null
}
}
}
}
}
},
"ceedlingExplorer.testCaseMacroAliases": {
"markdownDescription": "An array of aliases for the `TEST_CASE` macro",
"type": "array",
"default": [
"TEST_CASE"
],
"scope": "resource"
},
"ceedlingExplorer.testRangeMacroAliases": {
"markdownDescription": "An array of aliases for the `TEST_RANGE` macro",
"type": "array",
"default": [
"TEST_RANGE"
],
"scope": "resource"
}
}
},
"commands": [
{
"command": "ceedlingExplorer.clean",
"title": "Ceedling: Clean"
},
{
"command": "ceedlingExplorer.clobber",
"title": "Ceedling: Clobber"
}
]
}
}