Given-When-Then

Channel:
Subscribers:
8,800
Published on ● Video Link: https://www.youtube.com/watch?v=t6MrbtggmZY



Duration: 0:43
6 views
0


Given-When-Then (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. Given describes the preconditions and initial state before the start of a test and allows for any pre-test setup that may occur. When describes actions taken by a user during a test. Then describes the outcome resulting from actions taken in the when clause.
The Given-When-Then was proposed by Dan North as part of behavior-driven development.

Source: https://en.wikipedia.org/wiki/Given-When-Then
Created with WikipediaReaderReborn (c) WikipediaReader







Tags:
Acceptancetestdrivendevelopment
Acceptancetesting
Behaviordrivendevelopment
Browsertest
Computerscience
Cucumbersoftware
Hoaretriple
Seleniumsoftware