Cucumber BDD is a powerful layer on top of your TestNG + Selenium framework. It does not replace TestNG — it adds the ability to write tests in plain English that serve as living documentation. In the next chapters, we will build on this foundation with Page Object Model patterns and data-driven frameworks.
Key Point: Cucumber BDD = plain English tests that everyone can read + Selenium automation that runs them. Feature files are living documentation.
Answer all 5 questions, then submit to see your score.
1. What is the main purpose of BDD (Behavior-Driven Development)?
2. What is Scenario Outline used for in Cucumber?
3. What does the glue option in @CucumberOptions specify?
4. What is the difference between Background and @Before hook?
5. Where should Selenium code go in a Cucumber framework?