BDD & TDD / Quiz

Outline Maneuvers

Scenario Outlines and Examples tables: run one rule against many inputs without copy-pasting scenarios, and know when NOT to.

Difficulty
Easy
Format
Quiz
Points
100
Estimate
9 min

// MISSION BRIEF

Your Mission

Scenario Outlines are Gherkin's parameterization weapon, and the most misused keyword in the language. This quiz checks you can wield placeholders and Examples tables, and that you know when an outline hurts more than it helps.

Scoring: timed quiz; accuracy first, speed bonus for fast clean runs.

// FIRST CONTACT

Battle teaser

A Scenario Outline executes:

  1. AOnly when tagged @outline
  2. BOnce total, using the first Examples row
  3. COnce per Examples row, substituting each row's values into the placeholders
  4. DOnce per feature file
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

bddgherkinscenario-outlineparameterization