Great work!

XP to next level

BugEater

BDD as a Shared Language

Learning Objectives

By the end of this lesson you will be able to:

  • Define Behavior-Driven Development in one sentence, without jargon
  • Explain the "three amigos" idea and why it matters more than any tool
  • Distinguish BDD as a communication practice from Gherkin as its syntax

BDD Is a Conversation, Not a Framework

It's tempting to think of BDD as "that testing framework with the Given/When/Then files." That's a side effect, not the point. BDD is, at its core, a conversation practice: before a feature is built, the people who understand the business need, the people who will build it, and the people who will verify it sit down and agree — out loud, in writing — on what "done" behaves like.

This is often called the three amigos conversation: business/product, development, and QA, examining a feature from three angles before a single line of code exists.

Why a Shared Vocabulary Matters

Every discipline has jargon that excludes outsiders. Developers say "idempotent." QA says "regression suite." Business says "conversion funnel." None of these words help the three amigos agree on what a feature should do.

Gherkin's Given/When/Then keywords are deliberately generic and role-agnostic. They don't belong to any one discipline — which is exactly what makes them usable by all three.

From Conversation to Scenario

The output of a three-amigos conversation isn't a meeting note — it's a set of concrete examples, phrased as scenarios:

Given a registered user with a valid session
When they click "Log out"
Then their session is invalidated
And they are redirected to the login page

This scenario is the agreement, captured in a form that survives the meeting. Anyone can reread it later and know exactly what was decided — no memory required.

BDD Without Automation Is Still BDD

A common misconception: "we don't do BDD because we don't run Cucumber." Automation is optional. The conversation and the shared-language scenario are the actual practice. Plenty of teams write and review Gherkin scenarios purely as documentation, with manual testers executing them by hand — and that's still Behavior-Driven Development.

Pro Tip: If your team already writes acceptance criteria as bullet points, you're one small step from BDD. The shift isn't adding a tool — it's rephrasing those bullets as Given/When/Then examples everyone in the room agrees on.

Key Takeaways

  • BDD is a communication discipline first, a testing technique second
  • The "three amigos" — business, dev, QA — agree on behavior before code is written
  • Gherkin's neutral keywords make the resulting scenario readable by all three roles
  • Automation is optional; the shared-language agreement is the essential part

Quiz

At its core, what is Behavior-Driven Development?

Who typically takes part in a "three amigos" conversation?

Why are Gherkin's Given/When/Then keywords deliberately generic?

True or false: a team that writes and reviews Gherkin scenarios but never automates them is still practicing BDD.