@testim/testim-cli
Version:
Command line interface for running Testing on you CI
60 lines (52 loc) • 983 B
JavaScript
exports.config = {
/**
* server configurations
*/
host: '0.0.0.0',
port: 4444,
/**
* specify test files
*/
specs: [
'./examples/wdio/runner-specs/mocha.test.js'
],
exclude: [
'test/spec/multibrowser/**',
'test/spec/mobile/**'
],
/**
* capabilities
*/
capabilities: [{
browserName: 'phantomjs'
}, {
browserName: 'chrome'
}, {
browserName: 'firefox'
}],
/**
* test configurations
*/
logLevel: 'silent',
coloredLogs: true,
screenshotPath: 'shots',
baseUrl: 'http://webdriver.io',
waitforTimeout: 10000,
framework: 'mocha',
reporter: 'dot',
reporterOptions: {
outputDir: './'
},
mochaOpts: {
ui: 'bdd'
},
/**
* hooks
*/
onPrepare: function() {
console.log('let\'s go');
},
onComplete: function() {
console.log('that\'s it');
}
};