32 lines
610 B
JavaScript
32 lines
610 B
JavaScript
exports.config = {
|
|
seleniumAddress: 'http://localhost:4444/wd/hub',
|
|
|
|
capabilities: {
|
|
'browserName': 'phantomjs',
|
|
'phantomjs.cli.args': ['--ignore-ssl-errors=true']
|
|
},
|
|
|
|
suites: {
|
|
hw2: 'hw2-spec.js',
|
|
hw3: 'hw3-spec.js',
|
|
hw4: 'hw4-spec.js'
|
|
},
|
|
|
|
jasmineNodeOpts: {
|
|
showColors: true
|
|
},
|
|
|
|
onPrepare: function() {
|
|
jasmine.getEnv().addReporter(getReporter());
|
|
}
|
|
|
|
};
|
|
|
|
function getReporter() {
|
|
return {
|
|
suiteDone: function(result) {
|
|
console.log('Suite ' + result.description + ' done');
|
|
}
|
|
};
|
|
}
|