Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 746 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 746 Bytes

JUnit reporter for QUnit Build Status NPM version

A QUnit plugin that produces JUnit-style XML test reports (e.g. for integration into build tools like Jenkins).

Usage

Include the plugin script after QUnit itself, then implement the jUnitReport hook to do something with the XML string (e.g. upload it to a server):

QUnit.jUnitReport = function(report) {
	console.log(report.xml);
};

Notes

If you're using Grunt, you should take a look grunt-contrib-qunit.