title: Run QUnit tests within Casper.js
body: <p>My current unit tests are using <code>QUnit</code> and they are executed as described on the QUnit <a href="http://qunitjs.com/" rel="nofollow">website</a>. Basically all my tests are compiled to a <code>tests.js</code> and this is included in the <code>index.html</code>:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;title&gt;QUnit Example&lt;/title&gt;
    &lt;link rel="stylesheet" href="/resources/qunit.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="qunit"&gt;&lt;/div&gt;
    &lt;script src="qunit.js"&gt;&lt;/script&gt;
    &lt;script src="tests.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So my question is, how can I use my existing unit tests inside Casper.js?</p>