How to use the cucumber-junit-convert.convert function in cucumber-junit-convert

To help you get started, we’ve selected a few cucumber-junit-convert examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dpc-sdp / ripple / packages / ripple-test-tools / scripts / cucumberconvertor.js View on Github external
files.forEach(f => {
    const filename = f.replace(/\.[^/.]+$/, '')
    cucumberJunitConvert.convert({
      inputJsonFile: `./${filename}.json`,
      outputXmlFile: `./${filename}.xml`
    })
  })
  console.log(`Converted ${files.length} cucumber files`)

cucumber-junit-convert

<a href="https://snyk.io/test/github/znevrly/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

ISC
Latest version published 3 years ago

Package Health Score

57 / 100
Full package analysis

Popular cucumber-junit-convert functions