2.0.0 • Published 10 months ago

cucumber-excel-reporter v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Cucumber Excel Reporter

Generate cucumber excel reports from cucumber json reports

Library

  • XLSX

This project is implemented using NodeJs/Typescript.

Project Clone

https://github.com/udhayak4251/cucumber-excel-reporter

Install cucumber-excel-reporter

Install the packages using following command.

  npm i cucumber-excel-reporter

Usage

Simple

import { GenerateExcelReport } from "cucumber-excel-reporter";

GenerateExcelReport({
    cucumberJsonPaths: [
        'reports/cucumber.json'
    ],
    cucumberExcelReportOutDir: "excel_reports",
    fileName: "Cucumber_excel_report"
})

With Steps

import { GenerateExcelReport } from "cucumber-excel-reporter";

GenerateExcelReport({
    cucumberJsonPaths: [
        'reports/cucumber.json'
    ],
    cucumberExcelReportOutDir: "excel_reports",
    fileName: "Cucumber_excel_report",
    includeSteps:true
})

With Logs

import { GenerateExcelReport } from "cucumber-excel-reporter";

GenerateExcelReport({
    cucumberJsonPaths: [
        'reports/cucumber.json'
    ],
    cucumberExcelReportOutDir: "excel_reports",
    fileName: "Cucumber_excel_report",
    includeSteps:true,
    includeLogs: true
})

With include Json path

import { GenerateExcelReport } from "cucumber-excel-reporter";

GenerateExcelReport({
    cucumberJsonPaths: ["test/data/cucumber_1.json"],
    cucumberExcelReportOutDir: "cucumber_excel_report",
    fileName: 'Cucumber_Excel_report',
    includeSteps:true,
    includeLogs: true,
    includeJsonPath: true
})

Screenshots without steps

Cucumber Excel Report

Screenshots with steps

Cucumber Excel Report with steps

Screenshots with logs

Cucumber Excel Report with logs

Screenshots with included Json path

Cucumber Excel Report with included Json path

Feedback/Support

For support and Feedback, email udhayak4251@gmail.com

2.0.0

10 months ago

1.0.9

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago