cucumber-json-report-formatter
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Cucumber JSON Report Formatter

Overview

The tool provides an opportunity to format report generated by @badeball/cypress-cucumber-preprocessor into a regular Cucumber json report

Requirements

  • Requires Node.js 14.16+

Installation

npm i cucumber-json-report-formatter

Usage (JavaScript is the best way)

import {Formatter} from 'cucumber-json-report-formatter';

const formatter = new Formatter()
const sourceFile = "./cucumber-messages.ndjson"
const outputFile = "./reports/cucumber-report.json"
await formatter.parseCucumberJson(sourceFile, outputFile)

Package Sidebar

Install

npm i cucumber-json-report-formatter

Weekly Downloads

10,465

Version

0.1.4

License

MIT

Unpacked Size

37.4 kB

Total Files

10

Last publish

Collaborators

  • vitalii.rymar