gherkin tips & tricks - polteq · why does this test fail? what to call the tests? how much in...
TRANSCRIPT
![Page 1: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/1.jpg)
![Page 2: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/2.jpg)
![Page 3: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/3.jpg)
![Page 4: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/4.jpg)
![Page 5: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/5.jpg)
Why does this test fail?
What to call the tests?
How much in one test?
What to test, what not?
![Page 6: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/6.jpg)
![Page 7: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/7.jpg)
![Page 8: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/8.jpg)
![Page 9: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/9.jpg)
![Page 10: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/10.jpg)
Why does this test fail?
What to call the tests?
How much in one test?What to test,
what not? Simple sentence
Read the method name
CustomerBehavior- should fail for ...
Covered all behavior?
![Page 11: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/11.jpg)
![Page 12: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/12.jpg)
![Page 13: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/13.jpg)
![Page 14: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/14.jpg)
As a
I want
so that
![Page 15: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/15.jpg)
Given
And
And
When
Then
And
And
Given
And
When
Then
And
And
![Page 16: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/16.jpg)
![Page 17: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/17.jpg)
![Page 18: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/18.jpg)
![Page 19: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/19.jpg)
![Page 20: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/20.jpg)
![Page 21: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/21.jpg)
![Page 22: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/22.jpg)
![Page 23: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/23.jpg)
![Page 24: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/24.jpg)
![Page 25: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/25.jpg)
![Page 26: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/26.jpg)
![Page 27: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/27.jpg)
![Page 28: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/28.jpg)
![Page 29: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/29.jpg)
![Page 30: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/30.jpg)
![Page 31: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/31.jpg)
![Page 32: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/32.jpg)
![Page 33: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/33.jpg)
![Page 34: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/34.jpg)
![Page 35: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/35.jpg)
![Page 36: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/36.jpg)
![Page 37: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/37.jpg)
![Page 38: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/38.jpg)
![Page 39: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/39.jpg)
![Page 40: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/40.jpg)
![Page 41: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/41.jpg)
![Page 42: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/42.jpg)
![Page 43: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/43.jpg)
![Page 44: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/44.jpg)
![Page 45: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/45.jpg)
![Page 46: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/46.jpg)
![Page 47: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/47.jpg)
www.linkedin.com/in/chrisvanbael
http://bit.ly/1OmmLFr
![Page 48: Gherkin Tips & Tricks - Polteq · Why does this test fail? What to call the tests? How much in What to test, one test? what not? Simple sentence Read the method name CustomerBehavior](https://reader031.vdocument.in/reader031/viewer/2022031002/5b83af8f7f8b9a315b8db065/html5/thumbnails/48.jpg)