JsUnit 1.3 |
![]() |
![]() |
The version 1.5RC3 (and possibly earlier versions) has a bug and will throw a TypeError if the method toString is called for a class derived from Error. JsUnit is able to compensate this bug, although it is fixed for 1.5RC4.
print
to write to the console and load
to load other JavaScript files. Call the engine with
java org.mozilla.javascript.tools.shell.Main <filename>.js
You can run the examples or the JsUnit's TestSuite giving AllTests.js as argument running the shell.
Additionally the engine will also throw a TypeError running JsUnit if optimization is enabled (greater 0). I have not investigated on this further.
java org.mozilla.javascript.tools.debugger.Main <filename>.js
JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
|
Generated on Fri Oct 19 23:10:41 2007 for JsUnit by doxygen 1.5.2
|