how to enable jasmine xml junit reports?
Hi there,
I'm trying to enable the jasmine xml junit reports.
I've seen that I can use the following in protractorConf.js: onPrepare: function() { jasmine.getEnv().addReporter(new jasmine.JUnitXmlReporter( 'target/failsafe-reports', true, true)); },
However, I'm getting an error indicating what appears to be jasmine being null? Do i need to create a jasmine variable somewhere? where?
Just updated the example configuration: 26823e92b042bfd6ce9b41fd5eb687b5e2c7bb9d
What you're doing should work. What is the exact error you're getting?
i figured out that you need to do the following:
add the following line at the top of protractorConf.js: require('jasmine-reporters');
and also install jasmine-reporters :) npm install jasmine-reporters
probably the above steps should be added to the instructions... so that clueless people like me can get it working faster :)
thanks! Carolina
On Monday, November 18, 2013 3:16 PM, Julie Ralph [email protected] wrote:
Just updated the example configuration: 26823e9 What you're doing should work. What is the exact error you're getting? — Reply to this email directly or view it on GitHub.
really helpful thanks!
Added some docs to the FAQ: ba8220598708989e0f760a09d3787069abf4aaee
The latest commit from this ticket seems to be on production, but the URL goes to 404 now.