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
|
var customLaunchers = {
'TB_Chrome': {
base: 'TestingBot',
browserName: 'chrome',
version: 42
}/*,
'TB_Firefox': {
base: 'TestingBot',
browserName: 'firefox'
},
'TB_Safari': {
base: 'TestingBot',
browserName: 'safari'
},
'TB_Edge': {
base: 'TestingBot',
browserName: 'microsoftedge'
},
'TB_Edge': {
base: 'TestingBot',
browserName: 'microsoftedge'
},
'TB_IE11': {
base: 'TestingBot',
browserName: 'internet explorer',
version: 11
},
'TB_IE10': {
base: 'TestingBot',
browserName: 'internet explorer',
version: 10
},
'TB_IE9': {
base: 'TestingBot',
browserName: 'internet explorer',
version: 9
},
'TB_IE8': {
base: 'TestingBot',
browserName: 'internet explorer',
version: 8
}*/
};
module.exports = function(config) {
config.set({
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers),
// we currently are allowed to spawn 15 concurrent vms on testing bot
concurrency: 15,
testingbot: {
testName: 'Async.js TestingBot suite',
recordScreenshots: false,
connectOptions: {
verbose: false,
'se-port': 4445,
logfile: 'testingbot_tunnel.log'
},
public: true
},
// up the no activity timeout in case of traffic
browserNoActivityTimeout: 10000,
files: [
'./node_modules/es5-shim/es5-shim.js',
'mocha_test/*.js'
],
frameworks: ['browserify', 'mocha'],
preprocessors: {
'mocha_test/*.js': ['browserify']
},
reporters: ['mocha', 'testingbot'],
singleRun: true,
browserify: {
debug: true,
transform: ['babelify']
}
});
};
|