cucumber-json-2-pdf
v1.0.30
Published
Welcome to the `cucumber-json-2-pdf` project!
Readme
README
Welcome to the cucumber-json-2-pdf project!
Description
This project aims to generate PDF reports based on data analysis.
Installation
To install the necessary dependencies, run the following command:
npm install -g cucumber-json-2-pdfUsage
Convert Cucumber JSON to PDF
cucumber-json-2-pdf convert -j examples/cucumber-data.json -o output -p Android-Sanity -e DEovan -n Teste -m [email protected] -l images/logo.png -t "DET - Documento de Evidência de Testes"Convert JUnit XML to PDF
cucumber-json-2-pdf convert-junit -i examples/sample-junit.xml -o output -p Android-Sanity -e DEovan -n Teste -m [email protected] -l images/logo.png -t "DET - Documento de Evidência de Testes"Commands
convert — Cucumber JSON
Usage: cucumber-json-2-pdf convert [options]
Options:
-j, --json <path> Path to the Cucumber JSON file (required)
-o, --output <dir> Output directory for the PDFs (required)
-p, --project <name> Project name (required)
-e, --execution <name> Execution responsible (required)
-n, --owner <name> Owner name
-m, --email <email> Owner email
-x, --debug Output extra debugging
-l, --logo <path> Path to the logo image
-t, --title <text> Title on header
-h, --help Display help for commandconvert-junit — JUnit XML
Usage: cucumber-json-2-pdf convert-junit [options]
Options:
-i, --input <path> Path to the JUnit XML file (required)
-o, --output <dir> Output directory for the PDFs (required)
-p, --project <name> Project name (required)
-e, --execution <name> Execution responsible (required)
-n, --owner <name> Owner name
-m, --email <email> Owner email
-x, --debug Output extra debugging
-l, --logo <path> Path to the logo image
-t, --title <text> Title on header
-h, --help Display help for commandOutput
Each scenario generates a separate PDF file named:
DET-{ScenarioName}-{passed|failed}.pdfLicense
This project is licensed under the ISC License
