1.0.0 • Published 8 years ago
jenkins-pitesti v1.0.0
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
1.0.0
8 years ago