Highlights
- History and reasons for BDD
- Discovering User Stories
- Specifying Scenarios
- Test Driven Development vs BDD
- TDD in a BDD Way
- Specifications by Example
- Tools such as Cucumber
- BDD and Cucumber
- Gherkin
- BDD and SpecFlow
Course Details
Introduction
• BDD - Key features
• Origin of BDD
• BDD Practices
• Agile BDD
• Agile Manifesto and BDD
• Focus on WHAT a system should do
• Providing better readability and visibility.
• Does the software meet customer expectations?
Discovering User Stories
• Quick introduction to User Story Mapping
• Crafting INVEST User Stories
• Defining SMART Acceptance Criteria
Specifying Scenarios
• Importance of Scenarios
• Effective Collaboration techniques to flush out valid scenarios
• Documenting scenarios
• Best practices for writing meaningful scenarios
Test Driven Development
• Why Testing?
• Challenges with Test-Last Approach
• Test-First Approach
• Red-Green-Refactor Cycle
• TDD Process Steps
• Advantages of TDD
• Disadvantages of TDD
• Misconceptions about TDD
• Acceptance TDD
• TDD vs BDD
TDD in a BDD Way
• Story and Scenarios
• Development Cycle
Specifications by Example
• Specification by Example – Overview
• Use of SbE
• Advantages of SbE
• Applications of SbE
• SbE and Acceptance Testing
• SbE - A Set of Process Patterns
• Collaborative Specification
• Illustrating Specification using Examples
• Refining the Specification
• Automating Examples
• Validating Frequently
• Living Documentation
• Anti-patterns
• Solution to the Problems - Quality
• Tools
Tools
• Cucumber
• SpecFlow
• Lettuce
BDD and Cucumber
• Typical Cucumber Acceptance Test
• Working of Cucumber
• Mapping Steps and Step Definitions
Gherkin
• Gherkin Format and Syntax
BDD and SpecFlow
• Feature Elements and SpecFlow
• Multiple Scenario Steps
• Tags
• Scenario Outlines
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022