jenkins-pitesti

1.0.0 • Public • Published

jenkins-pitesti

A wrapper around pitesti that ouputs XUnit results and LCov coverage data into directories expected by Jenkins.

Usage

Instead of

var pitesti = require('pitesti');

do

var pitesti = require('jemkins-pitesti');

Then to inovke your test file, instead of

$ node test.js

do

$ jenkins-pitest test.js

Evnironment Variables

You can change the locations of the outputs by changing these environment variables, which are the same as in jenkins-mocha.

  • $(ARTIFACTS_DIR) = ./artifacts
  • $(TEST_DIR) = ./$(ARTIFACTS_DIR)/test
  • $(COVERAGE_DIR) = ./$(ARTIFACTS_DIR)/coverage

License

See LICENSE.txt

Package Sidebar

Install

npm i jenkins-pitesti

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bengl