-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.json
71 lines (71 loc) · 2.15 KB
/
task.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
{
"id": "C51CA1CE-0B54-627E-9571-3CBB14A64584",
"name": "ghost-inspector-vsts-extension",
"friendlyName": "Ghost Inspector",
"description": "Execute your Ghost Inspector test suites in your Azure DevOps build.",
"helpMarkDown": "Execute your Ghost Inspector test suites in your Azure DevOps build.",
"category": "Test",
"author": "Ghost Inspector",
"version": {
"Major": 1,
"Minor": 1,
"Patch": 1
},
"instanceNameFormat": "Execute Suite $(suiteid)",
"groups": [
{
"name": "advanced",
"displayName": "Advanced",
"isExpanded": false
}
],
"inputs": [
{
"name": "suiteid",
"type": "string",
"label": "Suite ID",
"defaultValue": "",
"required": true,
"helpMarkDown": "The ID of your Ghost Inspector Suite to execute."
},
{
"name": "apikey",
"type": "string",
"label": "API Key",
"defaultValue": "",
"required": true,
"helpMarkDown": "Your Ghost Inspector API key, [available in your account](https://app.ghostinspector.com/account)."
},
{
"name": "starturl",
"type": "string",
"label": "Start URL",
"defaultValue": "",
"required": false,
"helpMarkDown": "Alternative start URL for your test suite ([documentation](https://ghostinspector.com/docs/reusing-tests-different-environments/#overriding)).",
"groupName": "advanced"
},
{
"name": "parameters",
"type": "string",
"label": "Additional Parameters (JSON)",
"defaultValue": "",
"required": false,
"helpMarkDown": "[Additional parameters](https://ghostinspector.com/docs/api/suites/#execute) or [custom variables](https://ghostinspector.com/docs/variables/) in JSON format to POST to the API).",
"groupName": "advanced"
},
{
"name": "resultspath",
"type": "string",
"label": "Results Path",
"defaultValue": "$(System.DefaultWorkingDirectory)",
"required": false,
"helpMarkDown": "Output path for test reports (xUnit v2 format). A report will be saved for each suite that is executed."
}
],
"execution": {
"Node": {
"target": "index.js"
}
}
}