pactum-json-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

pactum-json-reporter

JSON reporter for pactum tests

Installation

npm install --save-dev pactum
npm install --save-dev pactum-json-reporter

Usage

const pjr = require('pactum-json-reporter');
const { reporter } = require('pactum');

// global before block
before(() => {
  reporter.add(pjr);
});

// global after block
after(() => {
  return reporter.end();
});

Options

const pjr = require('pactum-json-reporter');

// name of the report file - defaults to "report.json"
pjr.file = 'report-name.json';

// folder path for the report file - defaults to "./reports"
pjr.path = './reports-path';

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    599
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    599
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i pactum-json-reporter

Weekly Downloads

531

Version

1.0.2

License

MIT

Unpacked Size

3.89 kB

Total Files

5

Last publish

Collaborators

  • asaianudeep