Generate test cases in BDD format
Last updated
Was this helpful?
Last updated
Was this helpful?
You can now generate test cases in Gherkin format directly within the app. This eliminates the need to manually write or convert test cases into Gherkin format and saving a lot of time.
When creating a test case, you can choose between two styles:
Classic (default)
Gherkin
To generate a test case in Gherkin format, first select creation of a test with AI Copilot.
Once the modal opens, select based on what you want to generate a test case and then choose the Gherkin style from the available options.
Single or Multiple test cases:
If Single is selected, you can specify a path (e.g., negative/positive).
If Multiple is selected, you can generate multiple test cases simultaneously. The behavior is consistent with the classic test case creation process.
Once generation begins, you’ll see all the test cases being created in real-time.
When AI Copilot completes the process, you can preview each test case and decide whether to keep it, regenerate it, or discard it.
Need to tweak something? Simply provide additional instructions, and AI Copilot will regenerate the test case based on your updated input.
In the preview mode you can't edit a test case, but later you can modify it on the test case page
To remove a test case from the list, just uncheck the selection icon.
Once you are done with a review, simple click on the 'Save' button.
All test cases will be added to your project.