The Art of Gherkin Scripting

Test scripts have always been difficult to write. Do you have enough detail? Is there too much detail? What is the purpose of this script? These questions have bothered testing professionals for a long time. Over the past few years a solution has emerged that solves problems with writing test scripts. With the creation of the cucumber framework came the Gherkin Scripting format (also known as the Given-When-Then format). But its usefulness in writing test scripts is not limited to automation or agile projects. The structure of a Gherkin script is very straight-forward. Given provides you with the background. When tells you what is being created. Then tells you the expected results. Manual and automation testers, business owners and developers in every type of SDLC can benefit from Gherkin Scripts. During this workshop Matthew will walk through the process of crafting a well-written Gherkin Script from a traditional waterfall requirement. Then he will repeat the process using agile user stories and acceptance criteria. He’ll show you how a well-crafted Gherkin Script can be a beautiful work of art.

Session Takeaways:

  • Learn the Gherkin Scripting syntax: Given-When-Then.
  • Write scripts in the language of the domain so all team members understand scripts.
  • Apply Gherkin Scripting to traditional requirements and agile user stories.

Location: Middlesex Date: October 7, 2015 Time: 3:45 pm - 4:45 pm Matthew Eakin