Giter Club home page Giter Club logo

jscover-maven-plugin's Introduction

JSCover-maven-plugin

Build Status Dependency Status

Maven plugins for JSCover.

This plugin has the following goals:

  • jscover-file:instrument instrument the JavaScript on the file-system
  • jscover-file:jscover run the JavaScript tests and generate JavaScript code coverage using file-mode
  • jscover-server:jscover run the JavaScript tests and generate JavaScript code coverage using server-mode

Automatic running of tests currently supports:

  • Server and file-mode plugins (generate your coverage reports without ever running a server)
  • QUnit, Jasmine, Jasmine2, Mocha and custom test frameworks
  • WebDriver drivers (e.g. PhantomJS, Firefox, Chrome, IE, etc...)
  • Coverage thresholds
  • Multiple report formats (JSCover HTML, LCOV, Cobertura XML)
  • Ant style test inclusion and exclusions

See the server configuration here.

See the file configuration here.

Working examples

See JSCover-Samples.

Releasing

mvn clean source:jar javadoc:jar deploy

Snapshots

Development snapshots on sonatype.

Verifying signatures

Generate signatures:

mvn clean source:jar javadoc:jar install

Verify:

find . -name "*.asc" -exec gpg -v --verify '{}' \;

Count signatures:

find . -name "*.asc" | wc -l

Checking for dependency/plugin updates

mvn versions:display-dependency-updates

mvn versions:display-plugin-updates

Running tests

mvn clean cobertura:cobertura -Dcobertura.aggregate=true && mvn surefire-report:report -DskipTests=true -Daggregate=true

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.