-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
400 lines (400 loc) · 11.1 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
{
"name": "al-test-runner",
"displayName": "AL Test Runner",
"description": "Test runner for AL tests for Business Central development",
"publisher": "jamespearson",
"bugs": {
"email": "james@jpearson.blog",
"url": "https://github.com/jimmymcp/al-test-runner/issues"
},
"homepage": "https://jpearson.blog/al-test-runner-for-visual-studio-code/",
"preview": false,
"repository": {
"url": "https://github.com/jimmymcp/al-test-runner"
},
"icon": "semicolon128.jpg",
"files": [
"PowerShell/"
],
"version": "0.10.1",
"engines": {
"vscode": ">=1.88.0"
},
"categories": [
"Testing"
],
"activationEvents": [
"workspaceContains:.altestrunner",
"onLanguage:al"
],
"main": "./out/extension.js",
"contributes": {
"menus": {
"editor/context": [
{
"when": "editorLangId == al",
"command": "altestrunner.showTableData",
"group": "AL Test Runner"
}
]
},
"commands": [
{
"command": "altestrunner.runAllTests",
"title": "Run All Tests",
"category": "AL Test Runner"
},
{
"command": "altestrunner.runTestsCodeunit",
"title": "Run Tests in Current Codeunit",
"category": "AL Test Runner"
},
{
"command": "altestrunner.runTest",
"title": "Run Current Test",
"category": "AL Test Runner"
},
{
"command": "altestrunner.debugTest",
"title": "Debug Current Test",
"category": "AL Test Runner"
},
{
"command": "altestrunner.debugTestsCodeunit",
"title": "Debug Tests in Current Codeunit",
"category": "AL Test Runner"
},
{
"command": "altestrunner.clearTestResults",
"title": "Clear Test Results",
"category": "AL Test Runner"
},
{
"command": "altestrunner.clearCredentials",
"title": "Clear Credentials",
"category": "AL Test Runner"
},
{
"command": "altestrunner.setContainerCredential",
"title": "Set Container Credential",
"category": "AL Test Runner"
},
{
"command": "altestrunner.setVMCredential",
"title": "Set VM Credential",
"category": "AL Test Runner"
},
{
"command": "altestrunner.openConfigFile",
"title": "Open Config File",
"category": "AL Test Runner"
},
{
"command": "altestrunner.installTestRunnerService",
"title": "Install Test Runner Service",
"category": "AL Test Runner"
},
{
"command": "altestrunner.toggleCodeCoverage",
"title": "Toggle Code Coverage",
"category": "AL Test Runner"
},
{
"command": "altestrunner.showTableData",
"title": "Show Table Data",
"category": "AL Test Runner"
},
{
"command": "altestrunner.showRelatedTests",
"title": "Show Related Tests",
"category": "AL Test Runner"
},
{
"command": "altestrunner.listALFiles",
"title": "List AL Files",
"category": "AL Test Runner"
},
{
"command": "altestrunner.showPerformanceProfile",
"title": "Show Performance Profile",
"category": "AL Test Runner"
}
],
"keybindings": [
{
"command": "altestrunner.runTest",
"key": "Ctrl+Alt+T"
},
{
"command": "altestrunner.runAllTests",
"key": "Ctrl+Alt+Shift+T"
},
{
"command": "altestrunner.debugTest",
"key": "Ctrl+Alt+D"
},
{
"command": "altestrunner.toggleCodeCoverage",
"key": "Ctrl+Alt+C"
}
],
"configuration": [
{
"title": "AL Test Runner",
"properties": {
"al-test-runner.decorateTestMethods": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Decorate test methods with test results. When this setting is enabled the AL Test Runner extension will decorate the names of test methods in test codeunits according to the result of running that test."
},
"al-test-runner.passingTestsColor": {
"type": "object",
"description": "Background color for passing tests (rgba format)",
"scope": "resource",
"default": {
"red": 0,
"green": 255,
"blue": 0,
"alpha": 0.3
},
"properties": {
"red": {
"type": "number",
"description": "Red element of the color (0-255)"
},
"green": {
"type": "number",
"description": "Green element of the color (0-255)"
},
"blue": {
"type": "number",
"description": "Blue element of the color (0-255)"
},
"alpha": {
"type": "number",
"description": "Alpha (between 0 for transparent and 1 for opaque)"
}
}
},
"al-test-runner.failingTestsColor": {
"type": "object",
"description": "Background color for failing tests (rgba format)",
"scope": "resource",
"default": {
"red": 255,
"green": 0,
"blue": 0,
"alpha": 0.3
},
"properties": {
"red": {
"type": "number",
"description": "Red element of the color (0-255)"
},
"green": {
"type": "number",
"description": "Green element of the color (0-255)"
},
"blue": {
"type": "number",
"description": "Blue element of the color (0-255)"
},
"alpha": {
"type": "number",
"description": "Alpha (between 0 for transparent and 1 for opaque)"
}
}
},
"al-test-runner.untestedTestsColor": {
"type": "object",
"description": "Background color for untested tests (rgba format)",
"scope": "resource",
"default": {
"red": 250,
"green": 196,
"blue": 0,
"alpha": 0.3
},
"properties": {
"red": {
"type": "number",
"description": "Red element of the color (0-255)"
},
"green": {
"type": "number",
"description": "Green element of the color (0-255)"
},
"blue": {
"type": "number",
"description": "Blue element of the color (0-255)"
},
"alpha": {
"type": "number",
"description": "Alpha (between 0 for transparent and 1 for opaque)"
}
}
},
"al-test-runner.publishBeforeTest": {
"enum": [
"None",
"Publish",
"Rapid application publish"
],
"description": "The AL publishing command to call before running tests",
"scope": "resource",
"default": "None"
},
"al-test-runner.highlightFailingLine": {
"type": "boolean",
"scope": "resource",
"description": "Highlight the line in the test method that has failed",
"default": true
},
"al-test-runner.failingLineDecoration": {
"type": "string",
"scope": "resource",
"description": "TextDecoration CSS to decorate failing lines with",
"default": "underline wavy red"
},
"al-test-runner.preTestCommand": {
"type": "string",
"scope": "resource",
"description": "A PowerShell command to execute prior to running tests"
},
"al-test-runner.postTestCommand": {
"type": "string",
"scope": "resource",
"description": "A PowerShell command to execute after tests have been executed"
},
"al-test-runner.enableCodeLens": {
"type": "boolean",
"scope": "resource",
"description": "Enables CodeLens actions to run individual tests or all tests in a codeunit",
"default": true
},
"al-test-runner.testRunnerInitialisationTime": {
"type": "number",
"scope": "resource",
"description": "The delay (in milliseconds) to allow the test runner to initialise before attaching the debugger",
"default": 3000
},
"al-test-runner.codeCoveragePath": {
"type": "string",
"scope": "resource",
"description": "The path to the JSON file which has details of the code coverage for this project",
"default": "../tests/.altestrunner/codecoverage.json"
},
"al-test-runner.codeCoverageExcludeFiles": {
"type": "string",
"scope": "resource",
"description": "A regex pattern which defines file paths to exclude from the code coverage summary e.g. use it to exclude test objects"
},
"al-test-runner.enableCodeCoverage": {
"type": "boolean",
"scope": "resource",
"description": "Outputs code coverage statistics with test results and decorates covered lines with the Toggle Code Coverage command. See also the Code Coverage Path extension setting and key in the AL Test Runner config.json file.",
"default": true
},
"al-test-runner.enablePerformanceProfiler": {
"type": "boolean",
"scope": "resource",
"description": "Downloads performance profiler data for each test run.",
"default": true
},
"al-test-runner.testFolderName": {
"type": "string",
"scope": "resource",
"description": "The name of the workspace folder that contains the test app. Please reload VS Code after changing this setting."
},
"al-test-runner.testOutputLocation": {
"enum": [
"Output",
"Editor"
],
"scope": "resource",
"description": "Determines where test results will be displayed",
"default": "Output"
},
"al-test-runner.enablePublishingFromPowerShell": {
"type": "boolean",
"scope": "resource",
"description": "Enable (experimental) publishing apps from PowerShell"
},
"al-test-runner.publishTimeout": {
"type": "number",
"scope": "resource",
"description": "Timeout (milliseconds) for publishing apps from PowerShell",
"default": 20000
},
"al-test-runner.automaticPublishing": {
"type": "boolean",
"scope": "resource",
"description": "Automatically publish apps to the container when compiling",
"default": false
},
"al-test-runner.sendDebugTelemetry": {
"type": "boolean",
"scope": "resource",
"description": "Include debug events in the telemetry to help with troubleshooting",
"default": false
},
"al-test-runner.testWorkspaceFolderIdentifiers": {
"type": "array",
"scope": "resource",
"description": "Text to look for in workspace folder names to identify the folder which contains the test app",
"default": [
"tests",
"test"
]
}
}
}
],
"snippets": [
{
"path": "snippets.json",
"language": "al"
}
],
"jsonValidation": [
{
"fileMatch": ".altestrunner/config.json",
"url": "./syntaxes/configSyntax.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^5.2.6",
"@types/node": "^10.17.60",
"@types/sinon": "^7.5.2",
"@types/vscode": "^1.88.0",
"glob": "^7.1.7",
"mocha": "^10.2.0",
"sinon": "^7.5.0",
"tslint": "^5.20.1",
"typescript": "^4.6.3",
"@vscode/test-electron": "^2.3.9"
},
"dependencies": {
"@types/xml2js": "^0.4.9",
"sanitize-filename": "^1.6.3",
"xml2js": "^0.5.0",
"@vscode/extension-telemetry": "0.5.0"
},
"__metadata": {
"id": "f819914f-db9b-4d2d-89ff-90b11b3f9109",
"publisherDisplayName": "James Pearson",
"publisherId": "4cdb0146-0f5a-4955-8fa1-24763da60923",
"isPreReleaseVersion": true,
"preRelease": true
}
}