From the course: Behavior-Driven Development

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Gherkin specifications

Gherkin specifications

- [Instructor] Now that we've had a three amigos meeting and driven out some of the details surrounding our concrete example, we're almost ready to turn things over to the developer team to start building our application. But developers want to know when the application is functioning. We need a way to translate our acceptance criteria into executable tests that can verify the behavior of our system and create confidence that we're building the right thing in the beginning, even if these requirements might change later on. The specification language for Cucumber, Gherkin, is a business-readable, domain-specific language that describes the behavior of our software features, but it's not interested in how the behavior is being implemented by the system. Gherkin serves two purposes for the development process: to automate testing, as well as acting as documentation for the application. Gherkin gives us a means to document our concrete examples and explicitly state the intention of our…

Contents