BRAND NEW: Our Two-Day Certified PM² Foundation Is Now Available. Book Your Places For £899 + VAT! Learn more
Behaviour-Driven Development (BDD) has become a well-established approach to testing, providing ‘living documentation’ of the system under test, and being able to use the documentation to drive the test automation. Our BDD courses teach you what BDD is all about, how to write your Gherkin Feature files, and then how to bind the test automation code to the features.
Introduction To BDD
A background to BDD and its benefits. The process of BDD. An overview of the tools available, terminology.
Introduction To Gherkin
Feature Files, introduction to the Gherkin language, basic syntax
Using the Background fixture, Parameters, Doc Strings, Examples and Data Tables, using Tags to organise execution, commenting
Installation Of The Cucumber Framework
Installing Cucumber with npm. Creating a project structure, creating a Feature, execution of Feature Files
Step Definitions & Code Binding
Using prototype step definitions, creating step definition Methods, expanding Methods with Parameters, Step Definition syntax, using Regular Expressions
Running The Cucumber Tests
Using Cucumber Command Line Interface, CLI parameters, Results & Reporting, HTML reports
Using Hooks in cucumber-js (BeforeAll, Before, After, AfterAll), Cucumber Timeouts
The Cucumber World Object
Attaching items to World, Creating your own custom World Constructor
Tables & Scenario Outlines
In-line Step Table Iterating, Scenario Outline Data Handling
Integrating Cucumber Into The POM
Using Cucumber & WebDriver under the Page Object Model. Using Helpers
VS Code Tips
Cucumber Icon Packs, Setting up GoTo Definitions Shortcut, Debugging scripts
Purple Griffon offer the following private virtual sessions for your team. Our Automated Software Testing training courses can be delivered on-site at your location or online for up to ten people:
Call +44 (0)1539 736 828 now to discuss your training requirements and to book your sessions in the diary.
There are currently no course dates that match your selected filter options. Please try another filter or contact one of our dedicated account managers on +44(0)1539 736 828 to discuss your requirements. Thanks.
All of our trainers have achieved exceptionally high delegate pass rates for accredited examinations for all our courses. We also offer complimentary pre and post-course support for any questions you may have.
We try and be as flexible as we can and accommodate your needs. We can swap delegates at any time with no charge. We can also create bespoke content should this be required.
We specialise in IT Service and Project Management. All of our Trainers and Consultants have considerable years of hands-on experience in IT Service / Project Management, working across a wide number of industry sectors.
Our training, sales and admin staff are all professional, helpful, friendly and approachable. We believe in providing excellent customer service. You will always have a dedicated friendly Account Manager