forked from numaru/vscode-ceedling-test-adapter
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
293 lines (293 loc) · 10 KB
/
package.json
File metadata and controls
293 lines (293 loc) · 10 KB
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
{
"name": "vscode-ceedling",
"displayName": "Ceedling",
"description": "Interact with your Ceedling test suite from Visual Studio Code",
"icon": "img/icon.png",
"author": {
"name": "Throw The Switch",
"url": "https://throwtheswitch.org/"
},
"contributors": [
{
"name": "Michael Karlesky"
},
{
"name": "Mark VanderVoord"
}
],
"publisher": "throw-the-switch",
"version": "1.0.0",
"license": "MIT",
"homepage": "https://github.com/throwtheswitch/vscode-ceedling",
"repository": {
"type": "git",
"url": "https://github.com/throwtheswitch/vscode-ceedling.git"
},
"bugs": {
"url": "https://github.com/throwtheswitch/vscode-ceedling/issues"
},
"categories": [
"Other"
],
"keywords": [
"ceedling",
"test",
"testing",
"tdd",
"test-driven-development",
"C",
"embedded"
],
"sponsor": {
"url": "https://github.com/sponsors/ThrowTheSwitch"
},
"main": "out/src/main.js",
"scripts": {
"clean": "rimraf out *.vsix",
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"esbuild-base": "rimraf out && esbuild ./src/main.ts --bundle --outfile=out/src/main.js --external:vscode --format=cjs --platform=node",
"build": "npm run -S esbuild-base -- --sourcemap",
"watch": "npm run -S esbuild-base -- --sourcemap --watch",
"rebuild": "npm run clean && npm run build",
"package": "vsce package",
"publish": "vsce publish",
"test": "tsc -p test.tsconfig.json && node ./out/tests/integration/main.js"
},
"dependencies": {
"@types/js-yaml": "^3.12.0",
"@types/semver": "^7.5.4",
"@types/xml2js": "^0.4.3",
"async-mutex": "^0.1.3",
"deepmerge": "^4.3.1",
"js-yaml": "^3.13.1",
"semver": "^7.5.4",
"strip-ansi": "^6.0.0",
"tree-kill": "^1.2.2",
"tslib": "^1.9.3",
"vsce": "^2.15.0",
"vscode-test-adapter-api": "^1.2.0",
"vscode-test-adapter-util": "^0.5.1",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.0",
"@types/vscode": "^1.71.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.32.0",
"esbuild": "^0.19.11",
"glob": "^7.1.6",
"mocha": "^10.0.0",
"typescript": "^4.6.3"
},
"engines": {
"vscode": "^1.71.0"
},
"extensionDependencies": [
"hbenl.vscode-test-explorer"
],
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Ceedling project configuration",
"properties": {
"ceedlingExplorer.projects": {
"description": "Path to the Ceedling project directories or yml files if not 'project.yml'",
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"description": "Path to the Ceedling project directory or yml file",
"type": "string"
},
"debugLaunchConfig": {
"description": "Name of the debug configuration to use for debugging tests in the launch.json file",
"type": "string"
},
"name": {
"description": "Name for the project tests folder. If not defined, the yml or folder name is used",
"type": "string"
}
},
"required": [
"path",
"debugLaunchConfig"
],
"additionalProperties": false,
"default": [
{
"path": ".",
"debugLaunchConfig": "null"
}
],
"scope": "resource"
}
},
"ceedlingExplorer.shellPath": {
"description": "Path to the shell where Ceedling is installed",
"type": "string",
"default": "null",
"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"
},
"ceedlingExplorer.ansiEscapeSequencesRemoved": {
"markdownDescription": "Should the ansi escape sequences be removed from ceedling stdout and stderr",
"type": "boolean",
"default": true,
"scope": "resource"
}
}
},
"commands": [
{
"command": "ceedlingExplorer.clean",
"title": "Ceedling: Clean"
},
{
"command": "ceedlingExplorer.clobber",
"title": "Ceedling: Clobber"
}
]
}
}