Behaviour-Driven Development and Automating Acceptance Tests

Duration: 2 Days

How can I attend my course?

On-line from
your chosen location

At our dedicated
training facility

On-site at
your premises

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

You will receive a full set of course notes
and all supporting materials for your course.

Hard Copy Delivered to your premises or Downloaded to a chosen device.

To book this course please call 
+44 (0) 1444 410296 or email Info@kplknowledge.co.uk