JSUnit is a Mozilla addon targeted for addon-authors to allow for unit testing of JavaScript components. It provides a command line interface to run unit tests in installed applications like Firefox and Thunderbird.
Please note: JSUnit is a test tool; it is __not__ recommended for production environments, as it modifies various configuration settings that slow down your application for daily use!
JSUnit is implemented as add-on to Firefox, Thunderbird, and other Mozilla based applications. It needs to be installed just like any other addon. The test are executed as follows:
thunderbird.exe -jsunit <path to main test file>
the path to main test file can either be a relative or absolute file name, or a URL such as chrome://testmodule/testclass.js
see [TipsAndTricks]
see [CurrentStatus]
see [Downloads]
Wiki: CurrentStatus
Wiki: Downloads
Wiki: TipsAndTricks
Wiki: WritingUnitTests