Parameterize Cucumber JVM Tests with Scenario Outline and Examples
Run one Gherkin template against multiple data rows in Cucumber JVM using Scenario Outline and Examples tables.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Run one Gherkin template against multiple data rows in Cucumber JVM using Scenario Outline and Examples tables.
Learn how Cucumber Data Tables let a single scenario drive many input rows, reducing duplication while adding considerations for traceability and type support.
When Cucumber reports ‘Undefined steps’ or ‘Could not find glue’, the culprit is often a mis‑configured step definition package. This guide walks through the most common glue errors, how to identify them, and how to resolve them in Cucumber‑JVM 7/8 projects.
Learn how Cucumber Background blocks eliminate duplicated Given steps, see a concrete example, and understand the shared‑state trade‑off.
Diagnose and resolve Cucumber Scenario Outline failures. This guide covers placeholder mismatches, Examples table syntax, and dry-run diagnostics to ensure data-driven tests execute correctly.
Treat Cucumber Background as an architectural boundary: what belongs in it, how it fails, why silent skips can hide setup defects in CI, and when to move setup elsewhere.
Keep Gherkin readable and CI fast by using Scenario Outlines with Examples tables and tagged hooks. Learn how to data‑driven tests, select subsets with tags, and run setup only when needed, with a concrete example and trade‑offs.
Learn how Cucumber Data Tables let you pass multiple parameters to a single step, cutting repetitive Gherkin and simplifying step definitions.
How to use boolean tag expressions and version‑aware filter config to precisely control which Cucumber scenarios run, with JUnit 5 and JUnit 4 examples.