ServerJS/Unit Testing: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: = Unit testing = Automated tests are an important part of software development today. Providing a standard test library will help encourage more people to write more tests. Additionally, ...)
 
Line 11: Line 11:
* JavaScript Assertion Unit -
* JavaScript Assertion Unit -
* [http://docs.jquery.com/QUnit QUnit] jQuery's unit testing framework, browser based
* [http://docs.jquery.com/QUnit QUnit] jQuery's unit testing framework, browser based
* [http://download.dojotoolkit.org/current-stable/dojo-release-1.2.3/util/doh/ DOH]  browser, native based test runners
* [http://download.dojotoolkit.org/current-stable/dojo-release-1.2.3/util/doh/ DOH]  JavaScript unit testing framework (used by Dojo, but without Dojo dependencies), supports browsers and stand-alone JavaScript environments.
* JSSpec is a Javascript BDD(Behavior Driven Development) framework. http://code.google.com/p/jsspec/
* JSSpec is a Javascript BDD(Behavior Driven Development) framework. http://code.google.com/p/jsspec/
* JSpec is a minimalistic JavaScript behavior driven development framework http://github.com/visionmedia/jspec/tree/master
* JSpec is a minimalistic JavaScript behavior driven development framework http://github.com/visionmedia/jspec/tree/master

Revision as of 18:29, 6 February 2009

Unit testing

Automated tests are an important part of software development today. Providing a standard test library will help encourage more people to write more tests. Additionally, the API specification will likely be written in the form of tests, so this component will be needed by the ServerJS project itself.

Testing involves both an API for easily defining tests and running assertions, plus a tool (or tools) for locating and running the tests.

Prior Art