JsUnit is a simple framework to write repeatable tests in JavaScript. It is an instance of the xUnit architecture for unit testing frameworks.
JsUnit is a port of JUnit 3.8.1 originally written by Erich Gamma and Kent Beck. It covers the core system and the examples.
Get JsUnit and take it for a test drive to see just how useful it can actually be for you!
What's New in This Release: [ read full changelog ]
New Features:
· New EmbeddedTextTestRunner for better integration into other applications
· New XMLResultPrinter for JUnitReport support
· TextTestRunner supports new argument --xml
· New TestCollector interface and implementations
· TextTestRunner supports new argument --run OPTION
· Added method assertMatches
· JsUnit Java library with embedded Rhino
· Apache Ant Task for JsUnit
· Apache Maven 2 Plugin for JsUnit
Design Changes:
· Method gluing: The Function object has now a glue method, that will add any function argument to the prototype
· Explicit regular expression support now by assertMatches instead of undocumented functionality in assertEquals
Bug Fixes:
· Fix AllTests.html in samples
· Fix tests for BroadVision and iPlanet
· Interfaces missing in docs for 1.2
· ResultPrinter failed to print an available CallStack
· ExceptionTestCase does no longer catch AssertionFailedError
· JsUtil.prototype.isRhino is now also true for embedded Rhino
· BaseTestRunner.getTest returns ...