mozilla

Revision 93311 of UnitTesting

  • Revision slug: CommonJS/UnitTesting
  • Revision title: UnitTesting
  • Revision id: 93311
  • Created:
  • Creator: mvalente
  • Is current revision? No
  • Comment 18 words added

Revision Content

Libraries

Terms

  1. Ant - Java build tool
  2. Browser Based - test runner is an html file and pass / fail is reported in the browser
  3. Maven - Java build tool
  4. Native Test Runner - No dependencies other than a JavaScript environment

 

Revision Source

<h4>Libraries</h4>
<ul> <li><a class="external" href="http://www.jsunit.net/" title="http://www.jsunit.net/">JsUnit</a> - browser based and remote Java server browser based</li> <li><a class="external" href="http://jsunit.berlios.de/" title="http://jsunit.berlios.de/">JsUnit</a> - browser, native, Ant, and Maven based test runners</li> <li><a class="external" href="http://code.google.com/p/rhinounit/" title="http://code.google.com/p/rhinounit/">rhinounit</a> - Ant based test runner</li> <li>JavaScript Assertion Unit -</li> <li><a class="external" href="http://docs.jquery.com/QUnit" title="http://docs.jquery.com/QUnit">QUnit</a> jQuery's unit testing framework, browser based</li> <li> <p><a class="external" href="http://download.dojotoolkit.org/current-stable/dojo-release-1.2.3/util/doh/" title="http://download.dojotoolkit.org/current-stable/dojo-release-1.2.3/util/doh/">DOH</a>  browser, native based test runners</p> </li> <li> <p>JSSpec is a Javascript BDD(Behavior Driven Development) <a class=" external" href="framework.http://code.google.com/p/jsspec/" rel="freelink">framework.http://code.google.com/p/jsspec/</a></p> </li> <li> <p>JSpec is a minimalistic JavaScript behavior driven development framework <a class=" external" href="http://github.com/visionmedia/jspec/tree/master" rel="freelink">http://github.com/visionmedia/jspec/tree/master</a></p> </li> <li> <p>Better Javascript testing through ScrewUnit <a class=" external" href="http://pivotallabs.com/users/nick/blog/articles/455-better-javascript-testing-through-screwunit" rel="freelink">http://pivotallabs.com/users/nick/bl...ough-screwunit</a></p> </li> <li> <p>Mochitest is an <a class="internal" href="../../../../En/Mozilla_automated_testing" rel="internal">automated testing framework</a> built on top of the <a class="external" href="http://mochikit.com/" rel="external nofollow" target="_blank" title="http://mochikit.com/">MochiKit</a> JavaScript libraries https://developer.mozilla.org/en/Mochitest</p> </li> <li> <p>Yahoo! UI Library: YUI Test <a class=" external" href="http://developer.yahoo.com/yui/yuitest/" rel="freelink">http://developer.yahoo.com/yui/yuitest/</a></p> </li> <li> <p>JSMock is a fully featured Mock Object library for JavaScript that provides the necessary tools to do effective interactive based testing. <a class=" external" href="http://jsmock.sourceforge.net/" rel="freelink">http://jsmock.sourceforge.net/</a></p> </li> <li> <p><span style="color: rgb(136, 0, 0);">J</span><span style="color: rgb(102, 0, 17);">S</span><span style="color: rgb(85, 0, 34);">L</span><span style="color: rgb(68, 0, 51);">i</span><span style="color: rgb(51, 0, 68);">t</span><span style="color: rgb(34, 0, 85);">m</span><span style="color: rgb(17, 0, 102);">u</span><span style="color: rgb(0, 0, 136);">s</span> is a lightweight tool for creating ad-hoc JavaScript benchmark tests. <a class=" external" href="http://www.broofa.com/Tools/JSLitmus/" rel="freelink">http://www.broofa.com/Tools/JSLitmus/</a></p> </li> <li> <p><strong>Jack</strong> is a toolkit for mocking JavaScript objects and functions. <a class=" external" href="http://boss.bekk.no/display/BOSS/Jack" rel="freelink">http://boss.bekk.no/display/BOSS/Jack</a></p> </li> <li> <p>MockMe for JavaScript <a class=" external" href="http://johanneslink.net/projects/mockme.html" rel="freelink">http://johanneslink.net/projects/mockme.html</a></p> </li> <li> <p>qMock is a standalone, lightweight mocking framework that facilitates integration testing for JavaScript programs. <a class=" external" href="http://code.google.com/p/qmock/" rel="freelink">http://code.google.com/p/qmock/</a></p> </li> <li> <p>TDD JS with JsMock <a class=" external" href="http://www.pathf.com/blogs/2006/11/tdd_and_javascr/" rel="freelink">http://www.pathf.com/blogs/2006/11/tdd_and_javascr/</a></p> </li> <li> <p>Test Driven Javascript <a class=" external" href="http://www.testdrivenjavascript.com/Practice/5.aspx" rel="freelink">http://www.testdrivenjavascript.com/Practice/5.aspx</a></p> </li> <li> <p><strong>jsUnity</strong> is a lightweight JavaScript testing framework that is context-agnostic <a class=" external" href="http://jsunity.com/" rel="freelink">http://jsunity.com/</a></p> </li>
</ul>
<h4>Terms</h4>
<ol> <li>Ant - Java build tool</li> <li>Browser Based - test runner is an html file and pass / fail is reported in the browser</li> <li>Maven - Java build tool</li> <li>Native Test Runner - No dependencies other than a JavaScript environment</li>
</ol>
<p> </p>
Revert to this revision