A junit reporter for node.
This package is available on npm
as: junitwriter
npm install junitwriter
The documentation is work in progress
Creates an instance of the junit reporter. When creating an instance a
testsuites rootnode is created internally which can be accessed through the
function getTestsuites()
.
Retuns the testsuites root node.
Adds and retuns a testsuite node inside the testsuites root node.
This function saves the content of the report to a file at the given
destination
.
Adds and retuns a testsuite node inside the testsuites root node.
Testsuite can appear multiple times as a child element of testsuites.