jenkins-pitesti
v1.0.0
Published
puts coverage and test data in jenkins-friendly places
Downloads
9
Maintainers
Readme
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