Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
14.5. Gherkin Language for Acceptance Criteria
This section
Practice test
12 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What does the Given keyword represent in Gherkin?
Hint
Think about the setup for any scenario.
- 2.
List the three keywords used in Gherkin.
Hint
Recall the structured format of scenarios.
- 3.
Which of the following is a keyword used in Gherkin?
- That
- And
- But
Hint
Recall the keywords used to create scenarios.
- 4.
True or False: Gherkin is used only for testing and not for defining requirements.
- True
- False
Hint
Think about how requirements and testing relate.
- 5.
Create a complete Gherkin feature file for an e-commerce checkout process, detailing interactions from item selection to order confirmation.
Hint
Make sure to think through each step of the process.
- 6.
Evaluate a poorly written acceptance criterion and rewrite it using the Gherkin syntax with correct keywords.
Hint
Focus on making it clear and actionable.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
2 more questions available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting