JsUnit

JsUnit

This document is the API Specification for JsUnit.

Summary

JsUnit is an open-source unit testing framework for JavaScript. JsUnit conforms to the standards of the xUnit frameworks - it has the usual set of assertions (plus some JavaScript-specific ones), setUp, tearDown, test suites, etc.


File Summary
jsUnitAjax.js jsUnitAjax.js contains a mock implementation of XmlHttpRequest that can be used for testing the sending and receiving AJAX requests and responses.
jsUnitCore.js jsUnitCore.js contains the implementation of the core JsUnit functionality: assertions, JsUnitTestSuites, and JsUnitException.
jsUnitMockTimeout.js jsUnitMockTimeout.js changes the behavior of setTimeout, clearTimeout, setInterval and clearInterval to provide a powerful way of testing callbacks.

JsUnit

www.jsunit.net
Documentation generated by JSDoc on Sun Sep 9 15:34:58 2007