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

cucumber-steps-defs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-steps-defs

> Convert cucumber features to steps definition with pleasure

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Cucumber steps defs

Convert cucumber features to steps definition with pleasure

Installation

Install it globally for CLI-like usage:

npm i -g cucumber-steps-defs

Or locally for access to API from your code:

npm i --save-dev cucumber-steps-defs

Usage

Binary usage

After installation you can immediatly start transforming feature files:

cucumber-steps-defs -f path/to/feature -o output/path

CLI options:

OptionDefault valueDesription
-f, --featureundefinedPath to cucumber feature file*
-o, --output.Path to generated steps definition file
-h, --helpPrints usage information

* – means required option

Usage from code

If you want to use generator in your code, you can use API directly:

const { convert } = require('cucumber-steps-defs')

convert('features/foo.feature', 'output/path')
  .then(() => { ... })
  .catch(err => { ... })

Keywords

FAQs

Package last updated on 21 Jun 2019

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