Overview
SpecFlow is the official Cucumber implementation for .NET. It allows testers to define, manage and automatically execute human-readable acceptance tests in .NET projects. SpecFlow uses the official Gherkin parser and supports the .NET framework, Xamarin and Mono.
In this instructor-led, live training, participants will learn how to use SpecFlow to write acceptance tests that are understandable by technical as well as non-technical stakeholders.
By the end of this training, participants will be able to:
- Bind business requirements to .NET code.
- Apply BDD techniques to build up living documentation for an application.
- Run SpecFlow from Visual Studio or the command line.
- Integrate SpecFlow into an existing continuous testing and build environment.
- Integrate SpecFlow with other testing frameworks such as MSTest, NUnit, xUnit and MbUnit.
Format of the course
- Part lecture, part discussion, exercises and heavy hands-on practice.
Requirements
- .NET programming experience
- A basic understanding of programming concepts
Audience
- Test engineers
- Developers
Course Outline
Introduction
Installing and configuring SpecFlow
Business Driven Development (BDD) and Acceptance test–driven development (ATDD)
Involving the business analysts in your organization
Defining your project requirements
The testing ecosystem (IDEs, programming languages, testing frameworks and build libraries)
Gherkin: writing your stories in a user-friendly language
Writing features and scenarios
Writing step definitions
Organizing features and scenarios with tagging
Working with hooks
Working with databases
Refactoring
Extending SpecFlow with SpecFlow+ and SpecMap (proprietary extensions)
Generating reports
Closing remarks