Popularity
2.7
Stable
Activity
7.5
-
394
28
88

Description

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...).

Code Quality Rank: L4
Programming language: Java
License: GNU General Public License v3.0 only
Tags: Testing Frameworks     Coverage    
Latest version: v2.0.10

JSCover alternatives and similar libraries

Based on the "Coverage" category.
Alternatively, view JSCover alternatives based on common mentions on social networks and blogs.

  • istanbul

    Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
  • blanket

    blanket.js is a simple code coverage library for javascript. Designed to be easy to install and use, for both browser and nodejs.

Do you think we are missing an alternative of JSCover or a related project?

Add another 'Coverage' Library

README

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 1.8+ (runtime requires Java 1.8+)
  • Ant (developed with version 1.9.2 to 1.10.1)

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.


*Note that all licence references and agreements mentioned in the JSCover README section above are relevant to that project's source code only.