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
It should be nice if I can use this lib the same as some other reporters.
Just pass the path to the file as optional parameter, rather than environment variable.
Solved it by removing the 'captureFile' option and adding:
process.env.XUNIT_FILE = 'test/xunit.xml';
The captureFile will capture the output but it's not the same as what's inside the xunit.xml file.
Don't know why.
Hi,
It should be nice if I can use this lib the same as some other reporters.
Just pass the path to the file as optional parameter, rather than environment variable.
mochaTest: {
'xunit-file-report': {
options: {
reporter: 'xunit-file',
captureFile: 'test/xunit.xml'
},
src: ['test/*/-spec.js']
},...
Thanks in advance!
Kind regards
Kristof
The text was updated successfully, but these errors were encountered: