ghidgen
v0.0.4
Published
Gherkin short hash ID generator with colored logs and scenarios auto-update
Downloads
18
Maintainers
Readme
Gherkin ID Generator
Gherkin ID Generator
A simplest quick hash generator for Gherkin scenarios with colored output
Receives a prefix and generate a short hash using it and current time using short-hash
Example: @ABCf178f8bf
You can just copy generated code from the console or update your scenario automatically
Why?
To generate a short ids for Cucumber scenarios which may help to find them easier in TAF (when added as a Cucumber tag)
Configure
npx ghidgen
Add features folder
Add product code (if desired)
Usage
To update a scenario
npx ghidgen upd
Provide scenario name
To just generate a Cucumber tag
npx ghidgen gen
Additional
To update features folder
npx ghidgen dir
To set a new product code
npx ghidgen code