ServerJS/Unit Testing: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 25: Line 25:
* Test Driven Javascript http://www.testdrivenjavascript.com/Practice/5.aspx
* Test Driven Javascript http://www.testdrivenjavascript.com/Practice/5.aspx
* jsUnity is a lightweight JavaScript testing framework that is context-agnostic http://jsunity.com/
* jsUnity is a lightweight JavaScript testing framework that is context-agnostic http://jsunity.com/
* JsUnitTest is based off unittest.js from prototypejs, except this library has no dependencies http://jsunittest.com

Revision as of 14:01, 18 April 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