Skip to content

udhayak4251/cucumber-excel-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generate cucumber excel reports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published