Mocha reporter which displays Spec output and generates xunit XML file
npm install spec-xunit-fileBased upon xunit-file reporter
1. Install spec-xunit-file
```
> npm install --save-dev spec-xunit-file
2. If using mocha cli with use the -R or --reporter option``
> mocha -R spec-xunit-file`
or`
> mocha --reporter spec-xunit-file
in the current directory i.e. process.cwd()/xunit.xmlTo override this file or location use the
XUNIT_FILE environment varrible`
> XUNIT_FILE=output/xunit.xml mocha -R xunit-file
`Set LOG_XUNIT environment variable, if you want the output in the console and xml file.
`
> LOG_XUNIT=true mocha -R xunit-file
``