Given-When-Then is a structured format for expressing scenarios in behavior-driven development (BDD).
GIV-uhn WEN THEN
Using Given-When-Then helps clarify and document expected behavior.
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.
Quick Links
Legal Stuff