0.0.4 • Published 2 years ago
ghidgen v0.0.4
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 ghidgenAdd features folder
Add product code (if desired)
Usage
To update a scenario
npx ghidgen updProvide scenario name
To just generate a Cucumber tag
npx ghidgen genAdditional
To update features folder
npx ghidgen dirTo set a new product code
npx ghidgen code