Specification by Example | Acceptance Test Driven Development (ATDD) | Behavior Driven Development (BDD)
Binding business requirements to .NET code
.NET | Silverlight | Windows Phone | Mono
Use SpecFlow to define, manage and execute automated acceptance tests from business-readable specifications. SpecFlow acceptance tests follow the BDD paradigm: define specifications using examples understandable to business users as well as developers and testers. SpecFlow integrates with Visual Studio, but can be also used from the command line (e.g. on a build server).
Get Started Now!
The essence in three easy steps
Describe the behavior of your system using human-readable syntax. Define specifications in the problem domain using the language of your stakeholders and build up a living documentation of your system.
Bind your test specifications to your application code to automate the testing of your system. Ensure that all your tests pass!
Run your automated tests periodically to ensure that any changes to your system have not introduced errors. Refactor existing test cases and extend your test suite with new ones as your system evolves with your stakeholders’ needs.
SpecFlow is open source and provided under a BSD license. As a part of the Cucumber family, SpecFlow uses the official Gherkin parser and provides integration to the .NET framework, Silverlight, Windows Phone and Mono.
Explore the SpecFlow eco-system
Check out the products that make SpecFlow even more powerful!
- SpecFlow+ Runner (formerly known as SpecRun) – smart, integrated test runner for SpecFlow
- SpecFlow+ Excel – collaborate with business partners using Given/When/Then directly in Excel
- SpecLog – build up a living documentation based on SpecFlow
- Contact us if you want to be listed here!
Want to learn more?
- Read the Getting Started guide if you are new to SpecFlow
- In-depth information is available in the Documentation
- SpecFlow was inspired by Cucumber and uses Gherkin
- Recommended books:
Specification by Example by Gojko AdzicThe Cucumber Book by Matt Wynne and Aslak Hellesoy
- You can find more books, articles, tutorials and screencasts on the Read & Watch page