Jump to content

Given-When-Then

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 216.46.164.180 (talk) at 19:03, 12 November 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Given-When-Then or GWT is a semi-structured way to write down test cases. They can either be tested manually or automated as browser tests with Selenium.

It derives its name from the three clauses used, which start with the words GIVEN, WHEN and THEN.[1]

The Given-When-Then was invented by Dan North as part of behavior-driven development.[2]

See also

References

  1. ^ Fowler, Perryn (24 November 2009). "Perryn Fowler's Weblog". Retrieved 14 August 2014.
  2. ^ Gorman, Mary; Ellen Gottesdiener (9 December 2012). "Using "Given-When-Then" to Discover and Validate Requirements". Retrieved 14 August 2014.