SoftwareTestPilot

Agile Tester Extension

Given-When-Then – ISTQB Definition

Last Updated: July 12, 2026 · SoftwareTestPilot QA Team

Official ISTQB Definition

A structured way of writing behavior specifications in BDD: Given a context, When an event occurs, Then an outcome is expected.

In simple words

The BDD scenario template: Given (context), When (action), Then (expected result).

Exam tip

Cucumber, SpecFlow and Behave all parse Given-When-Then via Gherkin.

Related terms

Practice this term in the ISTQB Mock Test

40 CTFL v4.0 questions, 60-minute timer, instant scoring and chapter-wise breakdown.

Practice in Mock Test