User Tools

Site Tools


given_when_then

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
given_when_then [2025/09/09 16:13] plidagiven_when_then [2025/09/09 16:24] (current) plida
Line 5: Line 5:
 ====== Given When Then (GWT) ====== ====== Given When Then (GWT) ======
  
-GWT is an approach to tests and scenarios which comes from BDD (Behavior-Driven Development). It helps testers, analysts and for businesses.+GWT is an approach to [[software_testing|tests]] and scenarios which comes from BDD (Behavior-Driven Development). It helps testers, analysts and for businesses.
  
 GWT is made up of 3 parts: GWT is made up of 3 parts:
Line 43: Line 43:
  
   - Each test is one scenario.   - Each test is one scenario.
-  - Formulate Given/When/Then in terms of the domain, not the implementation.+  - Formulate Given/When/Then in terms of the subject area, not the implementation.
   - Use the following method names: Given_X_When_Y_Then_Z.   - Use the following method names: Given_X_When_Y_Then_Z.
   - Avoid "and" in the sections — this is a sign that the test is too difficult.   - Avoid "and" in the sections — this is a sign that the test is too difficult.
given_when_then.1757434416.txt.gz · Last modified: by plida