Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cucumber-junit-reporter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-junit-reporter

A Jenkins compatible JUnit reporter for cucumber-js

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
537
decreased by-26.74%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 15 May 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc