Course
Behaviour Driven Development
Behaviour-driven development is one of the key enablers for automating acceptance tests and functional tests for systems. BDD allows us to capture and validate the rules governing the behaviour of our code. The course is taught through presentation, demos, hands-on labs and directed discussions. The course introduces how to capture acceptance criteria as scenarios and then to create Step Definition files using Java, C#, or an alternative language of your choice to build out the automated tests using Cucumber.
Duration: 1 day
Who is it for: This training course is aimed at developers and analysts and testers
Layout: The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice. The exercises specifically build on what has been recently taught and are built up as the training course progresses.
Objectives
- Understand the role and purpose of BDD
- Understand how BDD can complement Test Driven Development
- How to write effective scenarios
- Creating Step Definition Files
- Automating test running using Continuous Integration
- Understand how continuous delivery can be achieved when using BDD
- Understand how continuous deployment can be achieved when using BDD
- Integrating BDD with Web applications and Selenium
Modules
Introduction
- Why Behaviour Driven Development?
- What is BDD
- BDD and TDD
Getting Started
- Writing Scenarios
- Given / When / Then structure
- The importance of a Domain Specific Language
Writing Effective Scenarios
- Test by Example
- Using tables of data
- Creating effective Step Definitions
Automation – getting closer to Single Click Deployment
- Automation of BDD Tests
- Continuous Integration, Delivery and Deployment
Working with Selenium
- Selenium Basics
- Writing Cucumber Tests with Selenium
Enquire about this course
"*" indicates required fields