Description from extension meta
Generate BDD tests examples with OpenAI
Image from store
Description from store
Link to open source Github project:
https://github.com/Kashoid23/bdd-tests-generator
Feel free to open an issue there if you have one.
This extension allows to generate Capybara functional tests with OpenAI.
Getting Started
1) Install the Extension
- Click Add to Chrome.
2) Enable Analysis
- Click on the extension icon in your browser toolbar.
3) Provide OpenAI API Key
- To enable analysis, you need to provide your OpenAI API key (https://openai.com/blog/openai-api) since API is paid. By default, the extension uses the 'gpt-3.5-turbo' model (https://openai.com/pricing). We use your chrome storage as a secure keystore.
4) Generate Capybara Examples
- After providing the API key the extension will analyze the DOM events. We are currently following up mouse down events
- Click on the extension icon again to generate a file with Capybara examples.
5) Generate Custom Matchers
- Right-click on any element on a webpage.
- From the context menu, select "BDD Generate Test Expect Example".
The extension will copy to clipboard custom Capybara matchers based on the selected element.