Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Provider Logo

Behavior-Driven Development

via LinkedIn Learning

Overview

Learn the basics of behavior-driven development (BDD). Discover how BDD can improve collaboration, refine requirements, and identify defects earlier in the software testing cycle.

Behavior-driven development (BDD) emerged from test-driven development as a process that enhances collaboration with non-technical teams. BDD tests are focused on the user and system behavior, and can clarify details that are often lost during the traditional software development process. This training course teaches the basics of behavior-driven development. Learn how BDD fits in an agile workflow, how to drive BDD process within a team, and the basics of using popular BDD frameworks like Cucumber. Instructor Robin Beck helps you get hands-on with Cucumber and its specification language, Gherkin, providing examples of writing requirements specifications, defining scenarios, setting up failing tests, and optimizing your code to emphasize domain-driven and object-oriented design. He wraps up with some best practices for implementing behavior-driven development and keeping the philosophy—behavior over function—at top of mind.

Syllabus

Introduction
  • Collaboration with behavior-driven development (BDD)
  • What you should know
  • Getting set up
1. Behaving Agilely
  • Agile in context
  • TDD historically
  • Why is BDD so compelling?
  • Case study conclusions
  • Building the right thing
  • Concrete example
2. Give Me an Example
  • Three amigos meeting
  • The three amigos in action
  • Gherkin specifications
  • Translate the scenario into Gherkin
3. Hands On with Cucumber
  • BDD frameworks
  • The emergence of Cucumber
  • Set up the caffeinate project
  • Define the scenario
  • Model the domain
  • Embracing failure
  • Objectify the application
  • Add a second scenario
4. Remember the Process
  • Review
  • Behavior before function
Conclusion
  • Next steps

Taught by

Robin Beck

Related Courses

Reviews

0.0 rating, based on 0 reviews

Start your review of Behavior-Driven Development

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free