Created
April 17, 2016 19:38
-
-
Save ToreyStapleton/a21adf7e05f32c2ecbba3fcb1a66206c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var jasmineReporters = require('jasmine-reporters'); | |
var SpecReporter = require('jasmine-spec-reporter'); | |
exports.config = { | |
framework: 'jasmine2', | |
seleniumAddress: 'http://localhost:4444/wd/hub', | |
specs: [ | |
'test.spec.js', | |
], | |
suites : { | |
test : 'test.spec.js', | |
}, | |
jasmineNodeOpts : { | |
includeStackTrace : true, | |
defaultTimeoutInterval : 300000, | |
isVerbose : true, | |
showColors : true | |
}, | |
allScriptsTimeout : 300000, | |
onPrepare: function() { | |
browser.driver.manage().window().maximize(); | |
// global.browser.ignoreSynchronization = true; | |
// add jasmine spec reporter | |
jasmine.getEnv().addReporter(new SpecReporter({ | |
displayStacktrace: 'true' | |
})); | |
jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({ | |
consolidateAll: true, | |
savePath: 'testresults', | |
filePrefix: 'xmloutput' | |
})); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment