node-test-junit-reporter
v1.1.5
Published
JUnit test reporter for the Node.js test runner
Downloads
3,312
Readme
node-test-junit-reporter
A JUnit test reporter for the Node.js test runner
Installation
npm i -D node-test-junit-reporter
Usage
node --test --test-reporter node-test-junit-reporter --test-reporter-destination report.xml
You can also have a different test reporter output to stdout while still saving the JUnit report to a file:
node --test --test-reporter tap --test-reporter-destination stdout --test-reporter node-test-junit-reporter --test-reporter-destination report.xml