forked from theintern/intern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
intern.json
216 lines (200 loc) · 6.66 KB
/
intern.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
{
"$schema": "./schemas/config.json",
"description": "Run tests on Node, excluding the benchmark tests",
"coverage": ["src/**/*.ts", "!src/browser/**/*.ts"],
"functionalRetries": 1,
"suites": [
"tests/benchmark/example.ts",
"tests/unit/common/lib/*.ts",
"tests/unit/core/lib/BenchmarkTest.ts",
"tests/unit/core/lib/Channel.ts",
"tests/unit/core/lib/Deferred.ts",
"tests/unit/core/lib/Environment.ts",
"tests/unit/core/lib/Suite.ts",
"tests/unit/core/lib/Test.ts",
"tests/unit/core/lib/channels/*.ts",
"tests/unit/core/lib/common/*.ts",
"tests/unit/core/lib/executors/Executor.ts",
"tests/unit/core/lib/interfaces/*.ts",
"tests/unit/core/lib/reporters/Console.ts",
"tests/unit/core/loaders/*.ts"
],
"functionalSuites": "tests/functional/**/*.ts",
"node": {
"suites": [
"tests/integration/**/*.ts",
"tests/unit/cli/*.ts",
"tests/unit/core/bin/intern.ts",
"tests/unit/core/lib/ProxiedSession.ts",
"tests/unit/core/lib/Server.ts",
"tests/unit/core/lib/executors/Node.ts",
"tests/unit/core/lib/middleware/*.ts",
"tests/unit/core/lib/node/*.ts",
"tests/unit/core/lib/reporters/Benchmark.ts",
"tests/unit/core/lib/reporters/Cobertura.ts",
"tests/unit/core/lib/reporters/Coverage.ts",
"tests/unit/core/lib/reporters/HtmlCoverage.ts",
"tests/unit/core/lib/reporters/JUnit.ts",
"tests/unit/core/lib/reporters/JsonCoverage.ts",
"tests/unit/core/lib/reporters/Lcov.ts",
"tests/unit/core/lib/reporters/Pretty.ts",
"tests/unit/core/lib/reporters/Reporter.ts",
"tests/unit/core/lib/reporters/Runner.ts",
"tests/unit/core/lib/reporters/Simple.ts",
"tests/unit/core/lib/reporters/TeamCity.ts",
"tests/unit/core/lib/reporters/TextCoverage.ts",
"tests/unit/core/tasks/*.ts",
"tests/unit/index.ts",
"tests/unit/tunnels/**/*.ts",
"tests/unit/webdriver/**/*.ts"
],
"plugins": [
"tests/support/globalUi.ts",
"tests/support/nodeDom.ts",
"source-map-support/register"
],
"reporters": {
"name": "runner",
"options": { "hideSkipped": false, "hidePassed": "." }
},
"tsconfig": "tsconfig.json"
},
"browser": {
"suites": [
"tests/unit/core/lib/executors/Browser.ts",
"tests/unit/core/lib/browser/*.ts",
"tests/unit/core/lib/reporters/Dom.ts",
"tests/unit/core/lib/reporters/Html.ts"
],
"plugins": ["tests/support/globalUi.ts", "tests/support/browserDom.ts"]
},
"benchmark": false,
"filterErrorStack": false,
"configs": {
"wd": {
"description": "Run tests in Chrome using Selenium",
"tunnel": "selenium",
"environments": [{ "browserName": "node" }, { "browserName": "chrome" }],
// Clear out the general suites list so the browser won't try to load
// them.
"suites": [],
"node": {
"suites": [
// Top-level suites
"tests/benchmark/example.ts",
"tests/unit/core/lib/BenchmarkTest.ts",
"tests/unit/core/lib/Channel.ts",
"tests/unit/core/lib/Deferred.ts",
"tests/unit/core/lib/Environment.ts",
"tests/unit/core/lib/Suite.ts",
"tests/unit/core/lib/Test.ts",
"tests/unit/core/lib/channels/*.ts",
"tests/unit/core/lib/common/*.ts",
"tests/unit/core/lib/executors/Executor.ts",
"tests/unit/core/lib/interfaces/*.ts",
"tests/unit/core/lib/reporters/Console.ts",
"tests/unit/core/lib/resolveEnvironments.ts",
"tests/unit/core/loaders/*.ts",
// Top-level node suites
"tests/integration/**/*.ts",
"tests/unit/cli/*.ts",
"tests/unit/core/bin/intern.ts",
"tests/unit/core/lib/ProxiedSession.ts",
"tests/unit/core/lib/Server.ts",
"tests/unit/core/lib/executors/Node.ts",
"tests/unit/core/lib/middleware/*.ts",
"tests/unit/core/lib/node/*.ts",
"tests/unit/core/lib/reporters/Benchmark.ts",
"tests/unit/core/lib/reporters/Cobertura.ts",
"tests/unit/core/lib/reporters/HtmlCoverage.ts",
"tests/unit/core/lib/reporters/JUnit.ts",
"tests/unit/core/lib/reporters/JsonCoverage.ts",
"tests/unit/core/lib/reporters/Lcov.ts",
"tests/unit/core/lib/reporters/Pretty.ts",
"tests/unit/core/lib/reporters/Reporter.ts",
"tests/unit/core/lib/reporters/Runner.ts",
"tests/unit/core/lib/reporters/Simple.ts",
"tests/unit/core/lib/reporters/TeamCity.ts",
"tests/unit/core/lib/reporters/TextCoverage.ts",
"tests/unit/index.ts",
"tests/unit/core/tasks/*.ts",
"tests/unit/tunnels/**/*.ts",
"tests/unit/webdriver/**/*.ts"
]
},
"browser": {
"suites": "_tests/suites.js",
"plugins": "_tests/plugins.js"
}
},
"chrome": {
"extends": "wd",
"environments": "chrome"
},
"firefox": {
"extends": "chrome",
"environments": "firefox"
},
"safari": {
"extends": "chrome",
"environments": "safari"
},
"edge": {
"extends": "chrome",
"environments": {
"browserName": "MicrosoftEdge",
"browserVersion": "insider preview"
}
},
"ci": {
"description": "Run CI tests on the default cloud service (BrowserStack)",
"extends": "wd",
"reporters+": {
"name": "jsoncoverage",
"options": {
"filename": "coverage.json"
}
},
"tunnel": "browserstack",
"maxConcurrency": 2,
"capabilities": {
"idle-timeout": 60
},
"environments": [
{ "browser": "node" },
{ "browser": "internet explorer", "version": "11" },
{
"browser": "firefox",
"version": ["latest-3", "latest"],
"platform": ["WINDOWS", "MAC"]
},
{
"browser": "chrome",
"version": ["latest-3", "latest"],
"platform": ["WINDOWS", "MAC"]
},
{ "browser": "safari", "version": "latest" }
]
},
"sauce": {
"description": "Run CI tests on Sauce Labs",
"extends": "ci",
"tunnel": "saucelabs",
"environments": [
{ "browser": "node" },
{ "browser": "internet explorer", "version": "11" },
{
"browser": "firefox",
"version": ["latest-3", "latest"],
"platform": ["Windows 10", "OS X 10.12"]
},
{
"browser": "chrome",
"version": ["latest-3", "latest"],
"platform": ["Windows 10", "OS X 10.12"]
},
{ "browser": "safari", "version": "latest" }
]
}
}
}