JSCover
JSCover is a tool that measures code coverage for JavaScript programs.
It is an enhanced Java implementation of the excellent
JSCoverage tool.
See the file-based version in action now using the
Underscore test suite.
See the server-based report now for
YUI3.
JSCover is free software, distributed under the
GNU General Public License version 2.
Why choose JSCover
Coverage Features
Coverage Reports
- Stores report on the file-system
- Supports test coverage results merging
-
Multiple report formats supported (let us know what formats are required):
Other
- Quick and easy to set-up using a single JAR file
- JSCover will run anywhere Java does (requires minimum Java 1.6)
- Available via Maven repositories (see downloads page)
- Maven plugins now available (see downloads page)
- Usually requires no modification to existing tests (e.g. Jasmine, QUnit, Mocha, etc...)
-
Can run in multiple modes:
- Web-server : runs as a web-server instrumenting JavaScript on the fly
- File-System : instruments JavaScript to the file-system
- Proxy-server: runs as a proxy-server instrumenting JavaScript on the fly
- JSCover is under active development
-
JSCover is architecturally simple and modular, and so should be easy to
contribute to and maintain, hopefully ensuring a long life-time