To integrate with CI I am using QUnit with funcunit to create xml
- steal/js funcunit/open/phantomjs localhost/test.html -out text.xml
When the xml is produced it is often not valid as the testsuites tag has closed when it likes.
This results in the stream being closed before the tests have finished this also seems to be the case for modules.
- <testsuite time="0.204" tests="1" errors="0" failures="0" assertions="8" name="Example Module">
- </testsuites>
It appears to be the case that the testcase and testsuite and testsuites could all suffer from the same problem.