Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@e2y/bdd-dictionary-generator

e2y49MIT1.0.6

This package generates a dictionary from our cucumber (or another) step definition collection.

readme

bdd-dictionary-generator

The bdd-dictionary-generator is a utility to aid the in the discoverability of cucumber step definitions. It is a lightweight module that creates a Markdown report of the step definitions found in the given directory.

Installing

Using npm:

$ npm install @e2y/bdd-dictionary-generator

Using yarn:

$ yarn add @e2y/bdd-dictionary-generator

Usage

$ bdd-dictionary-generator -p ./step-definitions -f markdown

By default, the module search for step files in the current directory and generates the dictionary in the same place in Markdown.

$ bdd-dictionary-generator

CLI Options

$ bdd-directory-generator --help