Git Product home page Git Product logo

jscover's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.