Objectives:

  • Learn BDD basics and principles
  • Learn the Gherkin syntax
  • Build BDD scenarios to serve as acceptance criteria for stories
  • Work through hands-on labs to design, build, and test end-to-end applications utilizing BDD

Audience:

This course is intended for anyone who is interested in learning about BDD. Since BDD is a team concept, you are encouraged to include development staff, quality assurance personnel, and business representatives.

Pre-requisites:

None, but prior experience with Agile is helpful.

Duration:

Two Days

Outline for Behavior Driven Development (BDD) Workshop

1. BDD Review

  • The digital disconnect
  • BDD principles
  • BDD story format
  • Ubiquitous language

2. BDD Tooling

  • Tool overview
  • JBehave
  • Cucumber
  • Selenium
  • Tool integration

3. Working with Gherkin Syntax

  • Given / When / Then
  • How do we know it’s a given?
  • Knowing when to say when
  • Then and only then
  • Common pitfalls
  • Putting it into practice

4. Compound Steps

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

5. Resolving Duplicates

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

6. Patterns, Templates, Regular Expressions

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

7. Compound Step Structure

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

8. Before / After Stories

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

9. Reporting and Debugging

  • Core concept
  • Sample code
  • Seeing it in action
  • Hands-on lab

10. Final Project

  • Pulling it all together
  • Helpful reminders
  • Hands-on final lab