New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cucumber-json-merge

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-json-merge

NodeJS CLI for merging Cucumber JSON test results

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21K
increased by22.72%
Maintainers
1
Weekly downloads
 
Created
Source

cucumber-json-merge

NPM version License Coverage Status CI status code style: prettier Known Vulnerabilities NPM downloads

NodeJS CLI for merging Cucumber JSON test results

This work was highly based on previous work from junit-merge

Installation

npm install -g cucumber-json-merge

Or just download the repository and include it in your node_modules directly.

Usage

Usage: cucumber-json-merge [options] <report1.json> [report2.json...]


 Options:

   -V, --version           output the version number
   -d, --dir <path>        merge all results in directory
   -C, --createDir         create the output directory if missing
   -r, --recursive         pass to recursively merge all results in directory
   -o, --out <mergedfile>  file to output to (default: ./merged-test-results.json)
   -h, --help              output usage information

Advanced usage: including this as a library

In case you want to run this right from within nodeJS code, you should be able to include it as a library and perform the operations you want.

cukemerge = require('cucumber-json-merge');

files = cukemerge.listJsonFiles('.', false);
merged = cukemerge.mergeFiles(files);
console.log(merged);

Contributing

Feel free to submit issues and/or PRs! In lieu of a formal style guide, please follow existing styles.

Contact

You can find me on Twitter.

LICENSE

Apache 2.0.

Keywords

FAQs

Package last updated on 19 Apr 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

  • 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