Skip to main content

Build tests from a Gherkin scenarios

Cyrine Dubuisson avatar
Written by Cyrine Dubuisson
Updated over a month ago

Learn how to create test cases using Gherkin scenarios in Thunder Code Runner.

Create a New Test Case

To start creating a test case:

  1. Navigate to your Thunder Code Runner Project

  2. Click the Add a Test Case button

  3. Enter a descriptive name for your test case (e.g., "Successful login with valid credentials")

  4. Click Save to create your test case

Generate Test Steps from Gherkin

Once your test case is created:

  1. Copy your Gherkin test steps

2. In the chat interface, paste them

3. Click the Generate Test Steps button

Thunder Code will automatically convert your Gherkin scenario into executable test steps.

Did this answer your question?