Skip to content

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage

License

Notifications You must be signed in to change notification settings

tntim96/JSCover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9500da6 · Jan 26, 2025
May 1, 2023
Apr 17, 2015
Sep 11, 2013
Jul 9, 2017
Aug 30, 2024
Feb 14, 2022
May 29, 2024
Jan 4, 2025
Apr 17, 2015
May 6, 2023
May 6, 2023
Jun 12, 2013
Jan 26, 2025
Jan 26, 2025
Jan 26, 2025
Dec 8, 2018
May 10, 2023
Aug 30, 2024
Feb 18, 2020
Dec 30, 2018
May 17, 2023
May 8, 2023
Jan 26, 2025

Repository files navigation

JSCover - A JavaScript code coverage measurement tool.

Build Status codecov Maven Central License: GPL v2 Gitter

JSCover is an easy-to-use JavaScript code coverage measuring tool. It is an enhanced version of the popular 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, QUnit, Mocha, 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.

About

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages