Given-When-Then

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

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

The Given-When-Then was observed and codified (or "invented") by Dan North as part of behavior-driven development.[2]

The method is also common in support-driven development and in artificial intelligence development, and is sometimes extended as given/when/then/unless (with exceptions).

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.

External links


This article is issued from Wikipedia - version of the 10/30/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.