-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuman.conf.js
executable file
·106 lines (106 loc) · 2.88 KB
/
suman.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
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
var os = require('os');
var path = require('path');
var numOfCPUs = os.cpus().length || 1;
module.exports = {
matchAny: [],
matchNone: [/fixture/, /.*target/],
matchAll: [/\.test\.js$/],
testDir: 'test',
testSrcDir: 'test/all',
sumanHelpersDir: 'test/.suman',
uniqueAppName: '<your-app-name-here>',
browser: 'Firefox',
logsDir: process.env['SUMAN_LOGS_DIR'],
allowSymlinks: false,
bundleWithChaiAssertions: false,
autoLoggingPre: true,
autoLoggingPost: true,
autoLoggingIoc: true,
autoLoggingHooks: true,
installSumanExtraDeps: true,
autoLoggingTestCases: true,
isLogChildStdout: false,
isLogChildStderr: true,
includeSumanGlobalsInPath: true,
useSumanUtilityPatches: true,
useTAPOutput: false,
errorsOnly: false,
replayErrorsAtRunnerEnd: true,
logStdoutToTestLogs: false,
allowArrowFunctionsForTestBlocks: false,
alwaysUseRunner: false,
enforceGlobalInstallationOnly: false,
enforceLocalInstallationOnly: false,
sourceTopLevelDepsInPackageDotJSON: false,
enforceTestCaseNames: true,
enforceBlockNames: true,
enforceHookNames: false,
bail: true,
bailRunner: true,
useBabelRegister: false,
executeRunnerCWDAtTestFile: true,
sendStderrToSumanErrLogOnly: true,
useSuiteNameInTestCaseOutput: false,
ultraSafe: false,
verbose: true,
checkMemoryUsage: false,
fullStackTraces: false,
disableAutoOpen: false,
suppressRunnerOutput: true,
allowCollectUsageStats: true,
highestPerformance: false,
saveLogsForThisManyPastRuns: 5,
verbosity: 5,
maxParallelProcesses: Math.max(6, numOfCPUs),
resultsCapCount: 100,
resultsCapSize: 7000,
defaultHookTimeout: 5000,
defaultTestCaseTimeout: 5000,
timeoutToSearchForAvailServer: 2000,
defaultDelayFunctionTimeout: 8000,
defaultChildProcessTimeout: 8000000,
defaultTestSuiteTimeout: 15000,
expireResultsAfter: 10000000,
coverage: {
coverageDir: 'coverage',
nyc: {
use: false,
},
istanbul: {}
},
watch: {
'//tests': {
'default': {
script: function (p) {
return "./node_modules/.bin/suman " + p;
},
include: [],
exclude: ['^test.*']
}
},
'//project': {
'default': {
script: './node_modules/.bin/suman',
include: [],
exclude: ['^test.*']
}
},
},
reporters: {
'tap': 'suman/reporters/tap'
},
servers: {
'*default': {
host: '127.0.0.1',
port: 6969
},
'###': {
host: '127.0.0.1',
port: 6969
},
},
babelRegisterOpts: {
ignore: /fixture/,
extensions: ['.es6', '.es', '.jsx', '.js']
}
};