java -jar HtmlUnitTestrunner.jar <URL to unit test page>
If you want to run a unit test from your filesystem, just use a file:// URL.
6 tests, 15 assertions, 0 failures, 0 errors
The general result will also be communicated via the program exit code (0 = success, 1 = failure).
HtmlUnitTestrunner was tested successfully even on complex JS files including the rather large ExtJS framework, for instance.
- HTMLUnit was released under the Apache 2 License and is included with its respective dependencies in the lib folder
- HtmlUnitTestrunner's genuine code (everything that is not in the lib folder) is released under the MIT License