Gherkin & BDD

Behavior-Driven Development (BDD) works when business, developers and testers share the same language. XQual lets you write Gherkin scenarios (Given / When / Then) directly in your tests, keeps a catalog of reusable steps, and can even generate Gherkin tests from your requirements with AI.

  • A Gherkin editor in each test, with syntax checking and Feature / Scenario and Scenario Outline templates,
  • A shared catalog of Given / When / Then steps, with typed parameters ({int}, {float}, {string}),
  • Steps missing from the catalog are detected and can be created all at once; renaming a step renames it in every test,
  • AI generation of Gherkin tests from a requirement or a specification, or from a whole folder, automatically linked to their source,
  • Executed with Cucumber through the XQual launchers,
  • Available on both Cloud SaaS and On-Premise XQual.

Most BDD projects end up with hundreds of near-duplicate steps ("the user logs in", "user is logged in", "a logged-in user"...). The XQual step catalog makes the team reuse existing steps instead of reinventing them, which keeps the scenarios readable and the glue code small.
SCREENSHOT PLACEHOLDER
images/gherkin_editor.png
XQual Gherkin editor with a scenario and the step catalog

Writing a scenario in the Gherkin editor, with steps from the catalog

One Language for the Whole Team

Why, how, and who it's for

Why Gherkin in XQual

Specifications everyone can read
  • Scenarios readable by business analysts, developers and testers alike
  • Scenarios stored with the rest of your tests, versioned and linked to requirements
  • A single catalog of steps, so the same action is always written the same way
  • Requirements turned into first-draft scenarios in seconds with AI

How It Works

Editor, catalog, AI, execution
  • Enable Gherkin on a test and start from a Feature / Scenario or Scenario Outline template
  • Insert steps from the catalog, or create the missing ones from the editor
  • Or select a requirement (or a folder) and let AI generate and link the Gherkin tests
  • Run them in a campaign: the Cucumber launcher executes them and reports the results

Who is this for

BDD teams and their stakeholders
  • Agile teams practicing BDD and specification by example
  • Product owners and business analysts writing acceptance criteria
  • Automation engineers maintaining Cucumber step definitions
  • Both Cloud SaaS and On-Premise XQual customers

From Requirement to Scenario with AI

A first draft in seconds, reviewed by you
Select a requirement or a specification, or a whole folder of them, and ask XQual to generate Gherkin tests: each generated test contains a Feature and its Scenarios, written with the steps of your catalog where possible, and is linked to the item it comes from, so the traceability is in place from the start. You stay in control: review, adjust and complete the scenarios before running them.
SCREENSHOT PLACEHOLDER
images/gherkin_ai_generation.png
Gherkin tests generated by AI from a requirement

Gherkin tests generated by AI from a requirement, already linked to it

Do not wait more!

Try XQual NOW for Free and for 30 Days...

TRY IT NOW FOR FREE!