-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 5.89 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 5.89 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
{
"name": "testdriver",
"displayName": "TestDriver.ai",
"description": "AI-powered end-to-end testing with live preview and MCP integration",
"version": "0.7.12",
"publisher": "testdriver",
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/testdriverai/vscode"
},
"engines": {
"vscode": "^1.85.0"
},
"extensionPack": [
"vitest.explorer"
],
"categories": [
"Testing",
"AI",
"Other"
],
"keywords": [
"testing",
"e2e",
"end-to-end",
"ai",
"automation",
"testdriver",
"mcp"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "testdriverai.openDebugger",
"title": "TestDriver: Open Live Preview"
},
{
"command": "testdriverai.installMcp",
"title": "TestDriver: Install MCP Server"
},
{
"command": "testdriverai.closeDebugger",
"title": "TestDriver: Close Live Preview"
},
{
"command": "testdriverai.setApiKey",
"title": "TestDriver: Set API Key"
},
{
"command": "testdriverai.login",
"title": "TestDriver: Sign In"
},
{
"command": "testdriverai.initProject",
"title": "TestDriver: Initialize Project"
},
{
"command": "testdriverai.walkthrough",
"title": "TestDriver: Open Getting Started"
},
{
"command": "testdriverai.chatWithAgent",
"title": "TestDriver: Chat with Agent"
},
{
"command": "testdriverai.makeRepeatable",
"title": "TestDriver: Turn into Repeatable Test"
}
],
"walkthroughs": [
{
"id": "gettingStarted",
"title": "Get Started with TestDriver.ai",
"description": "AI-powered end-to-end testing with live preview in your IDE.",
"steps": [
{
"id": "signIn",
"title": "Sign in to TestDriver.ai",
"description": "Sign in with your browser to connect your TestDriver account. Your API key will be saved automatically.\n[Sign In](command:testdriverai.login)",
"media": {
"image": "media/splash.png",
"altText": "TestDriver.ai"
},
"completionEvents": [
"onContext:testdriverai.hasApiKey"
]
},
{
"id": "initProject",
"title": "Initialize your project",
"description": "Set up example tests, AI agents, skills, vitest config, GitHub Actions workflow, and MCP server config in your workspace.\n[Initialize Project](command:testdriverai.initProject)",
"media": {
"image": "media/splash.png",
"altText": "Initialize Project"
},
"completionEvents": [
"onContext:testdriverai.projectInitialized"
]
},
{
"id": "installMcp",
"title": "Install the MCP Server",
"description": "The TestDriver MCP server lets AI coding assistants (Copilot, Cursor, etc.) create and run tests for you.\n\nClick below to configure it, or accept the install prompt when it appears.\n[Install MCP Server](command:testdriverai.installMcp)",
"media": {
"image": "media/splash.png",
"altText": "MCP Server Installation"
},
"completionEvents": [
"onContext:testdriverai.mcpInstalled"
]
},
{
"id": "chatWithAgent",
"title": "Chat with the agent",
"description": "Open GitHub Copilot and tell the TestDriver agent what to do.\n[Chat with Agent](command:testdriverai.chatWithAgent)",
"media": {
"image": "media/splash.png",
"altText": "Chat with the agent"
}
},
{
"id": "makeRepeatable",
"title": "Turn into a repeatable test",
"description": "Ask Copilot to convert your session into a repeatable test with a GitHub Action.\n[Make it Repeatable](command:testdriverai.makeRepeatable)",
"media": {
"image": "media/splash.png",
"altText": "Turn into a repeatable test"
}
},
{
"id": "readDocs",
"title": "Read the docs",
"description": "Learn more about TestDriver's features, CI/CD integration, and advanced usage.\n[Open Documentation](https://docs.testdriver.ai)",
"media": {
"image": "media/splash.png",
"altText": "Documentation"
},
"completionEvents": [
"openLink:https://docs.testdriver.ai"
]
}
]
}
],
"configuration": {
"title": "TestDriver.ai",
"properties": {
"testdriverai.autoOpenPreview": {
"type": "boolean",
"default": true,
"description": "Automatically open the live preview panel when a test starts"
},
"testdriverai.mcpServerPath": {
"type": "string",
"default": "",
"description": "Custom path to TestDriver MCP server (leave empty for default)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.0.0",
"typescript": "^5.3.0"
},
"dependencies": {
"testdriverai": "^7.3.44",
"ws": "^8.16.0"
}
}