Maven plugins for JSCover.
This plugin has the following goals:
jscover-file:instrument
instrument the JavaScript on the file-systemjscover-file:jscover
run the JavaScript tests and generate JavaScript code coverage usingfile-mode
jscover-server:jscover
run the JavaScript tests and generate JavaScript code coverage usingserver-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 (Firefox, Chrome)
- Coverage thresholds
- Multiple report formats (JSCover HTML, LCOV, Cobertura XML)
- Ant style test inclusion and exclusions
Requires Java 11
See the server configuration here.
See the file configuration here.
See JSCover-Samples.
mvn versions:set -DnewVersion=2.0.18
mvn -DperformRelease=true clean deploy
In case of error 'gpg: signing failed: Inappropriate ioctl for device' run
export GPG_TTY=$(tty)
Development snapshots on sonatype.
Generate signatures:
mvn clean install
Verify:
find . -name "*.asc" -exec gpg -v --verify '{}' \;
Count signatures:
find . -name "*.asc" | wc -l
mvn versions:display-dependency-updates
mvn versions:display-plugin-updates
mvn clean && mvn clean verify && mvn surefire-report:report-only -Daggregate=true