Our TeamContactGlossary

Given-When-Then

By Miranda Dulin
Published in Glossary
October 01, 2023
1 min read
Given-When-Then

Definition of Given-When-Then

Given-When-Then is a structured format for expressing scenarios in behavior-driven development (BDD).

Back of a vocabulary card for the term Given-When-Then
Back of a vocabulary card for the term Given-When-Then

Pronunciation Spelling

GIV-uhn WEN THEN

Example Sentence

Using Given-When-Then helps clarify and document expected behavior.

Discover Better Ways of Working

Subscribe and discover better ways of working. Piece together agile understanding with clarifying metaphors, curated resources, foundational terminology, and illuminating quotes, delivered monthly. Join now to start unpuzzling agile piece by piece.
Join Now

Significance

Agile practitioners should be familiar with the term “Given-When-Then” as it represents a structured format used in behavior-driven development (BDD) and test automation to define test scenarios. This format helps in articulating preconditions (“Given”), actions or events (“When”), and expected outcomes (“Then”). It aids in creating clear and understandable specifications or user stories, ensuring that the requirements are well-defined, and providing a foundation for writing automated tests. Understanding Given-When-Then assists in maintaining consistency and clarity within the team when discussing and writing test cases or acceptance criteria for user stories.

Additional Resources

  • Acceptance Criteria: Given When Then Syntax
  • Agile Testing: A Practical Guide for Testers and Agile Teams
  • BDD Tool Cucumber is 10 Years Old: Q&A with its Founder Aslak Hellesøy

Share

Previous Article
Golden Story
Next Article
16th Minute
Miranda Dulin

Miranda Dulin

Scrum Master

Table Of Contents

1
Definition of Given-When-Then
2
Pronunciation Spelling
3
Example Sentence
4
Significance
5
Additional Resources

Buy Me a Coffee

Are you gaining value and insights from Agile Ambition? If you love what you're learning and want to see more, here's a simple way to show your support. Click the "Buy Me a Coffee" button to make a small donation. Each coffee you buy fuels our journey to discover better ways of working by unpuzzling Agile, one piece at a time.

Buy Me a Coffee

Quick Links

Contact Us

Social Media