forked from theintern/intern
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintern.json
More file actions
150 lines (137 loc) · 4.66 KB
/
intern.json
File metadata and controls
150 lines (137 loc) · 4.66 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
{
"description": "Run tests on Node, excluding the benchmark tests",
"suites": [
"_tests/tests/unit/intern.js",
"_tests/tests/unit/lib/Channel.js",
"_tests/tests/unit/lib/Environment.js",
"_tests/tests/unit/lib/Suite.js",
"_tests/tests/unit/lib/Test.js",
"_tests/tests/unit/lib/channels/Base.js",
"_tests/tests/unit/lib/channels/Http.js",
"_tests/tests/unit/lib/channels/WebSocket.js",
"_tests/tests/unit/lib/common/util.js",
"_tests/tests/unit/lib/common/ErrorFormatter.js",
"_tests/tests/unit/lib/executors/Browser.js",
"_tests/tests/unit/lib/executors/Executor.js",
"_tests/tests/unit/lib/interfaces/bdd.js",
"_tests/tests/unit/lib/interfaces/benchmark.js",
"_tests/tests/unit/lib/interfaces/object.js",
"_tests/tests/unit/lib/interfaces/tdd.js",
"_tests/tests/unit/loaders/default.js",
"_tests/tests/unit/loaders/dojo.js",
"_tests/tests/unit/loaders/dojo2.js",
"_tests/tests/unit/loaders/systemjs.js"
],
"functionalSuites": "_tests/tests/functional/**/*.js",
"plugins": "_tests/tests/support/globalUi.js",
"node": {
"suites": [
"_tests/tests/unit/bin/intern.js",
"_tests/tests/unit/lib/RemoteSuite.js",
"_tests/tests/unit/lib/Server.js",
"_tests/tests/unit/lib/resolveEnvironments.js",
"_tests/tests/unit/lib/executors/Node.js",
"_tests/tests/unit/lib/node/ErrorFormatter.js",
"_tests/tests/unit/lib/node/util.js",
"_tests/tests/unit/lib/reporters/Cobertura.js",
"_tests/tests/unit/lib/reporters/Coverage.js",
"_tests/tests/unit/lib/reporters/HtmlCoverage.js",
"_tests/tests/unit/lib/reporters/JsonCoverage.js",
"_tests/tests/unit/lib/reporters/JUnit.js",
"_tests/tests/unit/lib/reporters/Lcov.js",
"_tests/tests/unit/lib/reporters/Reporter.js",
"_tests/tests/unit/lib/reporters/TeamCity.js",
"_tests/tests/unit/tasks/intern.js"
],
"plugins": "_tests/tests/support/nodeMocking.js",
"reporters": { "name": "runner", "options": { "hideSkipped": true, "hidePassed": true } }
},
"browser": {
"suites": [
"_tests/tests/unit/lib/browser/util.js"
],
"plugins": "_tests/tests/support/dojoMocking.js",
"loader": {
"script": "dojo2",
"options": {
"map": {
"*": {
"@dojo": "node_modules/@dojo"
}
},
"packages": [
{ "name": "src", "location": "_build/src" },
{ "name": "benchmark", "location": "node_modules/benchmark", "main": "benchmark.js" },
{ "name": "lodash", "location": "node_modules/lodash", "main": "lodash.js" },
{ "name": "platform", "location": "node_modules/platform", "main": "platform.js" },
{ "name": "sinon", "location": "node_modules/sinon", "main": "pkg/sinon.js" }
]
}
}
},
"benchmark": false,
"filterErrorStack": true,
"internPath": "_tests/src",
"configs": {
"allSuites": {
"description": "All regular suites + benchmark suites",
"suites+": [
"_tests/tests/benchmark/example.js",
"_tests/tests/unit/lib/BenchmarkTest.js"
]
},
"progress": {
"description": "For showing test progress",
"node": {
"reporters": { "name": "runner", "options": { "hideSkipped": true, "hidePassed": false } }
}
},
"coverage": {
"benchmark": true,
"description": "Generate full coverage",
"coverage": [
"_build/src/lib/**/*.js",
"_build/src/bin/**/*.js",
"_build/src/loaders/**/*.js",
"_build/src/tasks/**/*.js"
],
"extends": [ "allSuites" ]
},
"wd": {
"description": "Run tests in Chrome using Selenium",
"tunnel": "selenium",
"environments": { "browserName": "chrome", "fixSessionCapabilities": "no-detect" }
},
"wdcoverage": {
"description": "Run coverage tests locally",
"extends": [ "wd", "coverage" ]
},
"ci": {
"description": "Run CI tests on the default cloud service (BrowserStack)",
"extends": "coverage",
"tunnel": "browserstack",
"maxConcurrency": 2,
"capabilities": {
"idle-timeout": 60,
"fixSessionCapabilities": "no-detect"
},
"environments": [
{ "browser": "internet explorer", "version": [ "10", "11" ] },
{ "browser": "firefox", "version": [ "33", "latest" ], "platform": [ "WINDOWS", "MAC" ] },
{ "browser": "chrome", "version": [ "38", "latest" ], "platform": [ "WINDOWS", "MAC" ] },
{ "browser": "safari", "version": [ "9", "10" ] }
]
},
"sauce": {
"description": "Run CI tests on Sauce Labs",
"extends": "ci",
"tunnel": "saucelabs",
"environments": [
{ "browser": "internet explorer", "version": [ "10", "11" ] },
{ "browser": "firefox", "version": [ "33", "latest" ], "platform": [ "Windows 10", "OS X 10.12" ] },
{ "browser": "chrome", "version": [ "38", "latest" ], "platform": [ "Windows 10", "OS X 10.12" ] },
{ "browser": "safari", "version": [ "9", "10" ] }
]
}
}
}