Duration: 2 Days
How can I attend my course?
Course Content
Introduction
• Behaviour-driven development overview
• Acceptance-test driven development
• Shortening the feedback loop – including the customer
• Benefits and disadvantages of BDD
Introduction to Gherkin
• The Gherkin test specification language
• Feature files
• Scenarios
• The GIVEN-WHEN-THEN construct
• Testing simple scalar scenarios
Advanced Gherkin
• Scenario outlines and example tables
• Tables in GIVEN WHEN THEN steps
• Testing vector and table scenarios
Cucumber test runner
• Autogeneration of step files and source code bindings
• Handling parameters with regular expressions
• Auto-parsed parameter types
• Writing binding functions
Advanced binding
• Storing state between scenario steps
• Storing state in the context object
• Storing state in class members
• Asserting on test expectations
• Integration with unit testing frameworks
• Integration into CI/CD pipeline automation tools