pactum-influxdb-reporter
v1.0.3
Published
InfluxDB reporter for pactum tests
Downloads
3
Readme
pactum-influxdb-reporter
InfluxDB reporter for pactum tests
Installation
npm install --save-dev pactum
npm install --save-dev pactum-influxdb-reporter
Usage
const pir = require('pactum-influxdb-reporter');
const pactum = require('pactum');
const reporter = pactum.reporter;
// global before block
before(() => {
pir.url = '<influxdb url>';
pir.db = '<db name>';
pir.measurement = '<measurement name>';
/* custom tags like - build version */
pir.tags = { Version: '1.0.12' }; // optional
reporter.add(pir);
});
// global after block
after(() => {
return reporter.end();
});