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 SpecFlow Framework
SpecFlow Visual Studio plugin, installing the SpecFlow Libraries, WebDriver and other dependent libraries. Creating a project structure, creating a Feature File, formatting and execution of Feature Files
Step Definitions & Code Binding
Creating our Test Classes, Using prototype step definitions, fixing errors for executing feature files, creating step definition Methods, expanding Methods with Parameters
Deconstructing Step Definitions and Regular Expressions
Step Definition syntax, using Regular Expressions, using multiple annotations for one Method, re-using Methods for more than one Scenario
Scenario Outline, In-line Step Table Iterating,
Executing the SpecFlow Features
Using SpecFlow, Using Tags, Results & Reporting, Command line execution, SpecFlow Fixtures for Execution Flow.
Integrating SpecFlow into the POM
Using SpecFlow & WebDriver under the Page Object Model.
Key technologies used
- Visual Studio 2015
- WebDriver C#