All quizzes
Free quiz · 20 questions in the bank

Cucumber quiz

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
  1. What is Cucumber?
  2. What is a "Feature file" in Cucumber?
  3. What is the purpose of "Background" in a Gherkin feature file?
  4. 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?
  5. 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)?
  6. 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?
  7. What is Gherkin, and what is its relationship to Cucumber?
  8. What is a "Doc String" in Gherkin?
  9. What is a "Tag" in Cucumber (like `@smoke` or `@wip` written above a Scenario or Feature)?
  10. 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?
  11. What is a "Hook" in Cucumber (like `Before` and `After`)?
  12. 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?
Gaps to close?
Read the curated Cucumber notes — core concepts, patterns, interview prep.
Cucumber notes

More quizzes

.NETAccessibilityAgileAgile MethodologyAirflowAkka