forked from formulahendry/vscode-dotnet-test-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
320 lines (320 loc) · 9.6 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
{
"name": "dotnet-test-explorer",
"displayName": ".NET Core Test Explorer",
"description": "Test Explorer for .NET Core (MSTest, xUnit, NUnit)",
"version": "0.7.7",
"publisher": "formulahendry",
"license": "MIT",
"icon": "testexplorer_dark.png",
"engines": {
"vscode": "^1.45.1"
},
"categories": [
"Programming Languages"
],
"keywords": [
"MSTest",
"NUnit",
"xUnit",
"C#",
"F#"
],
"bugs": {
"url": "https://github.com/formulahendry/vscode-dotnet-test-explorer/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/formulahendry/vscode-dotnet-test-explorer/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/formulahendry/vscode-dotnet-test-explorer.git"
},
"activationEvents": [
"workspaceContains:**/*.csproj",
"workspaceContains:**/*.fsproj",
"onView:dotnetTestExplorer"
],
"main": "./out/src/extension",
"contributes": {
"viewsWelcome": [
{
"view": "dotnetTestExplorer",
"contents": "No tests found. \n\nPlease open the test project and ensure your project compiles.\nIf the directory to execute dotnet test in is not the workspace root, consider setting dotnet-test-explorer.testProjectPath appropriately.\n[Open settings](command:workbench.action.openWorkspaceSettingsFile)"
}
],
"views": {
"test": [
{
"id": "dotnetTestExplorer",
"name": ".NET Test Explorer"
}
]
},
"commands": [
{
"command": "dotnet-test-explorer.showLog",
"title": "Show log",
"icon": {
"light": "resources/light/log.svg",
"dark": "resources/dark/log.svg"
}
},
{
"command": "dotnet-test-explorer.stop",
"title": "Stop running processes",
"icon": {
"light": "resources/light/stop.svg",
"dark": "resources/dark/stop.svg"
}
},
{
"command": "dotnet-test-explorer.refreshTestExplorer",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "dotnet-test-explorer.runAllTests",
"title": "Run All Tests",
"icon": {
"light": "resources/light/run.png",
"dark": "resources/dark/run.png"
}
},
{
"command": "dotnet-test-explorer.runTest",
"title": "Run Test",
"icon": {
"light": "resources/light/run.svg",
"dark": "resources/dark/run.svg"
}
},
{
"command": "dotnet-test-explorer.runTestInContext",
"title": "Run .NET Core Test in context"
},
{
"command": "dotnet-test-explorer.gotoTest",
"title": "Go to Test",
"icon": {
"light": "resources/light/gototest.svg",
"dark": "resources/dark/gototest.svg"
}
},
{
"command": "dotnet-test-explorer.debugTest",
"title": "Debug Test"
},
{
"command": "dotnet-test-explorer.openPanel",
"title": "Open Tests Panel"
}
],
"menus": {
"view/title": [
{
"command": "dotnet-test-explorer.showLog",
"when": "view == dotnetTestExplorer",
"group": "navigation@3"
},
{
"command": "dotnet-test-explorer.stop",
"when": "view == dotnetTestExplorer",
"group": "navigation@2"
},
{
"command": "dotnet-test-explorer.refreshTestExplorer",
"when": "view == dotnetTestExplorer",
"group": "navigation@1"
},
{
"command": "dotnet-test-explorer.runAllTests",
"when": "view == dotnetTestExplorer",
"group": "navigation@0"
}
],
"view/item/context": [
{
"command": "dotnet-test-explorer.runTest",
"when": "view == dotnetTestExplorer",
"group": "dotnetTestExplorer@0"
},
{
"command": "dotnet-test-explorer.runTest",
"when": "view == dotnetTestExplorer",
"group": "inline"
},
{
"command": "dotnet-test-explorer.gotoTest",
"when": "viewItem == test",
"group": "dotnetTestExplorer@1"
},
{
"command": "dotnet-test-explorer.debugTest",
"when": "viewItem == test",
"group": "dotnetTestExplorer@2"
}
],
"editor/context": [
{
"command": "dotnet-test-explorer.runTestInContext",
"group": "dotnetTestExplorer@0",
"when": "resourceLangId == csharp"
},
{
"command": "dotnet-test-explorer.runTestInContext",
"group": "dotnetTestExplorer@0",
"when": "resourceLangId == fsharp"
},
{
"command": "dotnet-test-explorer.runTestInContext",
"group": "dotnetTestExplorer@0",
"when": "resourceLangId == vb"
}
]
},
"configuration": {
"type": "object",
"title": ".NET Core Test Explorer",
"properties": {
"dotnet-test-explorer.enableTelemetry": {
"type": "boolean",
"default": true,
"description": "Whether to enable anonymous usage collection."
},
"dotnet-test-explorer.testProjectPath": {
"type": "string",
"default": "",
"description": "Glob pattern that points to path of .NET Core test project(s).",
"examples": [
"**/*Test.@(csproj|vbproj|fsproj)",
"**/*Tests.@(csproj|vbproj|fsproj)",
"**/*.sln"
]
},
"dotnet-test-explorer.treeMode": {
"type": "string",
"enum": [
"full",
"merged",
"flat"
],
"enumDescriptions": [
"Display all namespaces as separate nodes in the tree.",
"Combine namespaces with a single child to one node.",
"Display every test separately."
],
"default": "merged",
"description": "Determines how the tests should be arranged in the tree."
},
"dotnet-test-explorer.showCodeLens": {
"type": "boolean",
"default": true,
"description": "Determines whether to show the CodeLens test status or not."
},
"dotnet-test-explorer.codeLensFailed": {
"type": "string",
"default": "",
"description": "The text to display in the code lens when a test has failed."
},
"dotnet-test-explorer.codeLensPassed": {
"type": "string",
"default": "",
"description": "The text to display in the code lens when a test has passed."
},
"dotnet-test-explorer.codeLensSkipped": {
"type": "string",
"default": "",
"description": "The text to display in the code lens when a test has been skipped."
},
"dotnet-test-explorer.pathForResultFile": {
"type": "string",
"default": "",
"description": "The path to (temporarily) store test result files in"
},
"dotnet-test-explorer.autoExpandTree": {
"type": "boolean",
"default": false,
"description": "If true, the tree will be in an expanded state by default"
},
"dotnet-test-explorer.addProblems": {
"type": "boolean",
"default": true,
"description": "If true, failed test will add to the problems view"
},
"dotnet-test-explorer.autoWatch": {
"type": "boolean",
"default": false,
"description": "If true, starts dotnet watch test after test discovery is completed"
},
"dotnet-test-explorer.testArguments": {
"type": "string",
"default": "",
"description": "Additional arguments that are added to the dotnet test command."
},
"dotnet-test-explorer.leftClickAction": {
"type": "string",
"default": "gotoTest",
"enum": [
"gotoTest",
"runTest",
"doNothing"
],
"description": "What happens when a test in the list is left clicked."
},
"dotnet-test-explorer.runInParallel": {
"type": "boolean",
"default": false,
"description": "If true, will discover/build and run test in parallel if you have multiple test projects"
}
}
},
"keybindings": [
{
"command": "dotnet-test-explorer.runTestInContext",
"key": "alt+r alt+c",
"mac": "alt+r alt+c",
"when": "editorTextFocus"
},
{
"command": "dotnet-test-explorer.rerunLastCommand",
"key": "alt+r alt+r",
"mac": "alt+r alt+r"
},
{
"command": "dotnet-test-explorer.runAllTests",
"key": "alt+r alt+a",
"mac": "alt+r alt+a"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "node ./out/test/runTest.js",
"tslint": "tslint -t verbose src/**/*.ts"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"@types/sinon": "^9.0.4",
"@types/vscode": "^1.45.1",
"mocha": "^7.1.2",
"sinon": "^9.0.2",
"tslint": "^6.1.2",
"typescript": "^3.9.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"applicationinsights": "^1.7.5",
"glob": "^7.1.6",
"ts-node": "^8.10.1",
"xmldom": "^0.6.0"
},
"extensionDependencies": [
"ms-dotnettools.csharp"
]
}