Write Test Behaviour Using Gherkin Language Introduction

We have seen details on Behaviour Driven Development aka BDD So, how do we implement this? What tools do we have to implement BDD? It is ultimate cool cucumber that makes it possible What is cucumber? 1) Cucumber is a tool that supports behavior driven development(BDD) 2) It is written in ruby and often installed as a gem 3) Supports testing in many different languages including Python, Java, C#, Ruby Now comes the question on gherkin language.What is a Gherkin Language? 1) It is the native language used to write tests that cucumber understands hence supports behavior driven development (BDD) 2) It is business readable domain specific language 3) It can be written by anyone who undersands domain - Note that if you know domain you can write scenarios using gherkin. If you are an expert it is an icing on the cake 4) Gherkin code comes as a part of cucumber codebase Gherkin language is used to write behaviors in the following languages: Cucumber (Ruby) Lettuce (Python) Spock (groovy) Specflow (dotnet) behat (php)