Test your Cucumber knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
What is Cucumber?
In this round
What is Cucumber?
What is a "Feature file" in Cucumber?
What is the purpose of "Background" in a Gherkin feature file?
What is the general relationship between Cucumber and a browser automation tool like Selenium or Playwright, when Cucumber is used for UI/end-to-end testing?
How does a step definition typically match a specific Gherkin step's text, especially when the step includes dynamic values (like a specific number or name)?
What is a reasonable criterion for deciding whether a given test scenario is worth writing in Cucumber/Gherkin format versus writing it as a plain code-based test?
What is Gherkin, and what is its relationship to Cucumber?
What is a "Doc String" in Gherkin?
What is a "Tag" in Cucumber (like `@smoke` or `@wip` written above a Scenario or Feature)?
What is the purpose of a "Feature" description block (the plain-text summary that can follow the `Feature:` keyword, before any scenarios) in a Gherkin file?
What is a "Hook" in Cucumber (like `Before` and `After`)?
Why might a team choose to write acceptance/integration-level tests in Cucumber/Gherkin format specifically, rather than writing them directly as plain code in a framework like Jest or JUnit?