Socket
Socket
Sign inDemoInstall

cucumber-junit-reporter

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cucumber-junit-reporter

A Jenkins compatible JUnit reporter for cucumber-js


Version published
Weekly downloads
641
increased by18.48%
Maintainers
1
Install size
942 kB
Created
Weekly downloads
 

Readme

Source

cucumber-junit-reporter

Build Status Dependency Status devDependency Status

A support hook generating Jenkins compatible XML based JUnit reports for cucumber-js.

Installation

To install the latest version, run:

npm install cucumber-junit-reporter --save

Usage

Create a file in cucumber's support directory containing the following:

var reporter = require('cucumber-junit-reporter');

module.exports = reporter({
  reportDir: 'build/test_results/'
});

The reporter accepts the following config values:

  • reportDir – The destination directory for the test reports. Default: 'test_reports'.
  • oneReportPerFeature – Default: true.
    • If true the reporter will create one report file per cucumber feature. The report file will be named based on reportPrefix, the feature file name and the reportSuffix.
    • If false the reporter will create a single report for all features, and the report name will be based on reportFile.
  • reportPrefix – Default: 'TEST-'.
  • reportSuffix – Default: '.xml'.
  • reportFile – Default: 'test_results.xml'.
  • numberSteps – If true, each step name in the report will be prefixed by its step number. This is useful when steps are sorter alphabetically. Default: true.

License

MIT

Changelog

0.0.1

  • Initial release

Keywords

FAQs

Last updated on 15 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc