ingap
Course Category: Agile Methods
Course Duration: 3 Days
Hours: 21 Contact Hours
Course Overview
More and more organizations are looking to Behavior Driven Development (BDD) and related practices, to gain or maintain their competitive advantage in software delivery. In this intensive workshop, participants will learn the principles and techniques of BDD using Specflow & Gherkin with .Net.
The course objective is to coach participants to apply test automation with framework collectively known as BDD test frameworks to adopt test-first method and, making tests accessible to non-technical users using specification by example.
Participants will learn practices to allow writing solid and reliable tests & test code efficiently. Program includes many demonstrations. Participants will have hands-on during program with Specflow and NUnit for various tests. Test framework concepts are also introduced so that participants can take test automation on another level.
More importantly, program provides complete understanding of BDD as process and its implementation. All three stages; Discovery, Formulation and Automation are discussed in detail. Open Q&A sessions, demos and hands-on are included throughout the program.
Audience
Program is primarily for developers & testers and any Team member that are directly involved with Test Automation using C#.
Prerequisites
Participant must have beginner level knowledge of .Net.
Software Requirements
Latest Visual Studio Community Edition (or any other .Net IDE) with Specflow plugin
Topics
Introduction
- Testing Fundamentals
- Types of Tests
- How to find Test Cases
- Good Tests
- Bad Tests
- Automated Tests
- What is Behaviour-Driven Development?
- Living Documentation
- Specification by Example
- Discovery
- Formulation
- Automation
- How Specflow Works
- Installation
- First time using Specflow
- Creating a Feature
- Creating Step Definitions
- Implementing Step Definition
- Specflow Output
- Adding an Assertion
- Pass It
Gherkin
- Format and Syntax
- Feature
- Scenario
- Rule
- Keywords
- Comments
- Background
- Data Table
- Scenario Outline
- Doc Strings
- Tags
- Using subfolders
Topics
More Specflow
- Step and Step Definition
- Binding
- Capturing Data
- Declaring Results
- Helper Methods
- Assertions
- Transformation
- Sharing State
- Code Separation
- Dependency Injection
- Refactoring
- Hooks
- Polling
- Data Driven
- Running Tests
- Configuration
- Reporting
- Test Framework
- Demo: Selenium Page Objects
- Demo: API Testing
- Demo: Library Testing
- Demo: Handling async
- Demo: Extending Specflow
Improve Tests
- Shared Environments
- Leaky Scenario
- Race Conditions
- Fixture Data
- Duplication
- Collaboration
- Testability
- Legacy Code
- Too Much Info
- Using Domain Language
- Defect Prevention
Exclusions
SDLC like Scrum, Test planning & estimation, TDD with Unit Testing.
Course Category: Agile Methods
Course Duration: 3 Days
Hours: 21 Contact Hours