cowboy/grunt — pull request #306 by ArturDorochowicz (2012-07-23 19:52:26+00:00)
Title: Add minimal Ant JUnit XML reporter to qunit task

This adds a minimal Ant JUnit-compatible XML reporter to qunit task. This works for me under TeamCity.
The reporter gets activated when antJUnitXmlReport option is specified on the task.

Please note that I'm rather new to node and Grunt internals. I'm open for suggestions on how to improve this code.

The reported may be further enriched with other additional information. I based it on the schema from here https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd. Code for original Ant reporter here: http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java.