Skip to content

Instantly share code, notes, and snippets.

@noonat
noonat / jspec.junit.js
Created November 14, 2009 18:45 — forked from tj/jspec.junit.js
JUnit XML output for JSpec
/*
Output:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="core.events" tests="2" assertions="2" failures="0" specs="2">
<testcase name="should be an instance of QueuedEventPool" assertions="1"/>
<testcase name="should have the correct name" assertions="1"/>
</testsuite>
...
</testsuites>