How to use the junit-report-builder.build function in junit-report-builder

To help you get started, we’ve selected a few junit-report-builder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bbc / a11y-tests-web / lib / lighthouse.js View on Github external
.then(() => {
      const output = reportBuilder.build();
      fs.writeFileSync(__dirname + '/../lighthouse-report.xml', output);
      logger.log(output);
    });
}
github bbc / a11y-tests-web / lib / junit-reporter.js View on Github external
JUnitReport.prototype.runEnded = function() {
  var output = builder.build();
  fs.writeFileSync(__dirname + '/../bbc-a11y-report.xml', output);
  this.log(output);
}
github bbc / a11y-tests-web / lib / bbcA11YJUnitReporter.js View on Github external
JUnitReport.prototype.runEnded = function () {
  const output = builder.build();
  fs.writeFileSync(__dirname + '/../bbc-a11y-report.xml', output);
  this.log(output);
};

junit-report-builder

Aimed at making it easier to build Jenkins compatible JUnit XML reports in plugins for testing frameworks

MIT
Latest version published 2 months ago

Package Health Score

74 / 100
Full package analysis