JSUnit
| This article relies on references to primary sources. (August 2008) |
JsUnit is an open source Unit Testing framework for client-side (in-browser) JavaScript created by Edward Hieat. It is essentially a port of JUnit to JavaScript. Also included is a platform for automating the execution of tests on multiple browsers and multiple machines running different OSs. Its development began in January 2001.[1]
JsUnit uses exception handling, which means we need JavaScript 1.4 or higher. That means that the browsers supported are Internet Explorer 5.0 or later, Netscape 6.0 or later, Mozilla 0.9 or later, and Konqueror 5.0 or later. The latest version of JsUnit has been tested for:
- Internet Explorer 5.5 and later, on Windows NT, Windows 2000, Windows XP, Windows 95, Mac OS 9, Mac OS X
- Internet Explorer 5.0 and later on Mac OS 9 and Mac OS X
- Mozilla 0.9.4 and later on all platforms (includes all Gecko-based browsers including Firefox 0.9 and later, Netscape 6.2.3 and later)
- Konqueror 5 and later on KDE 3.0.1 (Linux)
To run the server component of JsUnit, you will need a Java VM.
Other versions
There are two different testing frameworks going by the name of JsUnit, both essentially JUnit ports. The other version, which in primary contrast has solely headless operation, was created by Jӧrg Schaible and introduced in August, 2001.[2]
References
- ^ Byrne, Dennis. "JavaScript Test Driven Development with JsUnit and JSMock".
- ^ Schaible, Jӧrg. "BerliOS Developer: Project Summary - JsUnit".
