https://github.com/tntim96/JSCover
JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
https://github.com/tntim96/JSCover
coverage java javascript
Last synced: 24 days ago
JSON representation
JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
- Host: GitHub
- URL: https://github.com/tntim96/JSCover
- Owner: tntim96
- License: gpl-2.0
- Created: 2012-10-01T04:06:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T08:18:25.000Z (28 days ago)
- Last Synced: 2025-03-27T09:30:08.018Z (28 days ago)
- Topics: coverage, java, javascript
- Language: Java
- Homepage:
- Size: 27.5 MB
- Stars: 399
- Watchers: 27
- Forks: 84
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
- awesome-javascript - JSCover - JSCover is a tool that measures code coverage for JavaScript programs. (Testing Frameworks / Coverage)
- awesome-java - JSCover
- awesome-javascript - JSCover - JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage - ★ 348 (Testing Frameworks)
README
[JSCover](http://tntim96.github.io/JSCover) - A JavaScript code coverage measurement tool.
================================[](https://github.com/tntim96/JSCover/actions?query=workflow%3A%22Java-CI%22)
[](https://codecov.io/gh/tntim96/JSCover)
[](https://maven-badges.herokuapp.com/maven-central/com.github.tntim96/JSCover)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[](https://matrix.to/#/#JSCover_Lobby:gitter.im)JSCover is an easy-to-use JavaScript code coverage measuring tool. It is an enhanced version of the popular
[JSCoverage](http://siliconforks.com/jscoverage/) tool, having added several features including **branch coverage**,
**LCOV** and **Cobertura XML** reports for CI integration, hooks for automated tests and **HTML Local Storage** to
maintain coverage data without the use of iFrames or JavaScript opened windows.It's distinguishing factor from other JavaScript coverage tools is that it easily runs in any browser
(supporting JavaScript) allowing coverage measurement of tests that include DOM interaction.
It can be run with most tools (e.g.
[Jasmine](http://jasmine.github.io/),
[QUnit](http://qunitjs.com/),
[Mocha](http://mochajs.org/), etc...).Development
-----------
Development with JSCover is simple (clean check-out and build should just work). It is an Ant build using Maven's
dependency management. What you need:
* Java 11+ (runtime requires Java 11+)
* Ant (developed with version 1.10.8)Most development has been done with IntelliJ ultimate edition, and some with Eclipse and IntelliJ community edition.
Project files for IDEs are checked in, but any editor can be used.Before checking in any changes, be sure to run `ant pre-commit` which runs the full build and test suite,
and enforces coverage limits on the combined unit and integration tests as well as on the combined unit,
integration and acceptance tests.