-
Notifications
You must be signed in to change notification settings - Fork 37
/
rtd.conf.js
69 lines (68 loc) · 3.05 KB
/
rtd.conf.js
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
// *********************************************************************************************************************
// IF YOU WANT TO CUSTOMIZE ANYTHING HERE, COPY THIS FILE TO YOUR /test DIRECTORY AND RTD WILL USE THAT FILE INSTEAD
// *********************************************************************************************************************
module.exports = {
// RTD reduces the noise by swallowing most outputs. Here you can control this
output: {
debug: false, // enables all outputs. This is also switched on if you run grunt --debug
appOutput: false, // this shows the output from the 'meteor run' command
mirrorOutput: false, // this shows the output from the 'meteor run' command on the mirror app
karma: false // shows Karma's output
},
options: {
useCucumberJs: false, // EXPERIMENTAL FEATURE: DISABLES THE RUNNING OF SPEC FILES AND CODE COVERAGE FOR NOW
cucumberjs: { // See here for more details: https://github.com/s9tpepper/grunt-cucumber-js
src: '<%= basePath %>/test/features',
options: {
steps: "<%= basePath %>/test/features/step_definitions",
format: 'pretty'
}
},
runTestsOnStart: true,
coverage: {
// Coverage checks run after all unit and acceptance tests run. You can disable here or set the thresholds
enabled: true,
includeUnitCoverage: true,
thresholds: {
'statements': 100,
'branches': 100,
'functions': 100,
'lines': 100
},
exclude: '**/do_not_cover/**'
},
jshint: {
enabled: true,
// if you want to customize jslint options for app and/or test code, you can do that here
appOptions: {},
testOptions: {}
},
coffeelint: {
enabled: true,
// if you want to customize coffeelint options for app and/or test code, you can do that here
appOptions: {},
testOptions: {}
},
// if you have client libraries, you'll want to exclude them from test coverage
instrumentationExcludes: ['**/packages/**', '**/3rd/**', 'fixture.js', 'fixture.coffee'],
// If your dev environment has a stand-alone mongo service, you should disabled this
killMongo: false
},
selenium: {
// You can set specific versions of selenium-server / chromedriver to use here
darwin: {
chromeDriverName: 'chromedriver',
chromeDriverOs: 'mac32',
chromeDriverVersion: '2.9',
chromeDriverSha: '16553f51a165dd202e842b99675ca6e5e1eb2a69'
},
linux: {
chromeDriverName: 'chromedriver',
chromeDriverOs: 'linux64',
chromeDriverVersion: '2.9',
chromeDriverSha: '6d8498437795482bb82739e13dfc13e4bcfdd40b'
},
seleniumServeVersion: '2.39.0',
seleniumServeSha: 'f2391600481dd285002d04b66916fc4286ff70ce'
}
};