Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Race condition creating xml output

$
0
0
To integrate with CI I am using QUnit with funcunit to create xml
  1. 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.

  1.   <testsuite time="0.204" tests="1" errors="0" failures="0" assertions="8" name="Example Module">
  2. </testsuites>
It appears to be the case that the testcase and testsuite and testsuites could all suffer from the same problem.

Viewing all articles
Browse latest Browse all 3491

Trending Articles