You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.pipe(jasmine({
integration: true, // or false
vendor: 'node_modules/jasmine-reporters/src/junit_reporter.js'
}));
var junitReporter = new jasmineReporters.JUnitXmlReporter({
savePath: '..',
consolidateAll: false
});
jasmine.getEnv().addReporter(junitReporter);
You have to be able to inject a __phantom_writeFile function into the window namespace when running under phantomJS (integration is true). I found that the jasmine-runner.js file wasn't quite suitable for this task because it calls phantom.exit() too soon before the test output files were written out. With a small modification to index.js, it was possible to substitute my own and have that working.
If you were running your tests under node then you probably wouldn't have to worry about that previous paragraph.
It would be nice to have an alternative JUnit reporter.
It would allow me interface my test suites in Atlassian's Bamboo.
The text was updated successfully, but these errors were encountered: