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.
谷歌浏览器、其他Chromium内核的浏览器
为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效