/chatGPT-gherkin-generator

Just prepare your requirements, your chatGPT can translate your requirements to gherkin scenario.

Primary LanguageShell

Generate gherkin scenario using chatGPT

Just prepare your requirements, your chatGPT can translate your requirements to gherkin scenario.

Installation

Install jq

MAC

Use Homebrew to install jq.

brew install jq

WINDOWS

Use Chocolatey NuGet to install jq.

chocolatey install jq

LINUX

sudo apt-get install jq

Usage

Register chatGPT and Generate chatGPT APIKEY and put your APIKEY to .env file

mv .env_sample .env

#Generate gherkin scenario
sh generate-gherkin.sh -g -p "YOUR REQUIREMENTS"

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Example

alt text