Socket
Book a DemoInstallSign in
Socket

cucumber-junit-convert

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-junit-convert

<img src="https://snyk.io/test/github/znevrly/cucumber-junit-convert/badge.svg" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/github/znevrly/cucumber-junit-convert

2.1.1
latest
Source
npmnpm
Version published
Weekly downloads
13K
-10.18%
Maintainers
1
Weekly downloads
 
Created
Source

Known Vulnerabilities

Convert Cucumber.js json result file to XML Junit format. Unlike many similar libraries keeps Scenario = Testcase, not Step = Testcase.

Installation

To install the latest version, run:

npm install cucumber-junit-convert --save

Usage

const cucumberJunitConvert = require('cucumber-junit-convert');

const options = {
    inputJsonFile: '<filename>.json',
    outputXmlFile: '<filename>.xml',
    featureNameAsClassName: true // default: false
}

cucumberJunitConvert.convert(options);

License

MIT

Changelog

2.1.1

bugfixing Feature name as the JUnit className

2.1.0

  • add option to use the Feature name as the JUnit className: featureNameAsClassName

2.0.0

  • add embeddings support

1.1.1

1.1.0

  • test cases are marked as skipped when at least one step was pending or skipped, and there was no failure
  • update dependencies

1.0.2

  • fix typo

1.0.1

  • Add classname to testcase

1.0.0

  • Initial release

Keywords

cucumber

FAQs

Package last updated on 07 Mar 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.