Just looking for some examples of BDD/SpecFlow
- ideally a projectб so I can see how to use SpecFlow
on big projects where multiple features my reference the same steps etc.
I've read a few blogs over the last few months, but haven't had a nice, juicy project of someone else's to mooch around through.
What is SpecFlow? SpecFlow is a BDD framework for . NET which boosts your productivity by helping you with writing your feature files and automation code in your favorite IDE using C# and . NET methods.
SpecFlow is a test automation solution for . NET which follows the BDD paradigm, and is part of the Cucumber family. SpecFlow tests are written with Gherkin, using the official Gherkin parser which allows you to write test cases using natural languages and supports over 70 languages.
Behavior Driven Development (or BDD) is an Agile software development technique that encourages collaboration between developers, QA, and non-technical or business participants in a software project.
Specflow is a testing framework supporting BDD practices in . NET framework. It's an open source framework hosted on GitHub. It aids in using ATDD (Acceptance test driver development) for . NET Applications.
The official example set of SpecFlow can be found on github: http://github.com/techtalk/SpecFlow-Examples
The ASP.NET-MVC/BookShop sample is the one that you can have a look. It is not a very big project though. (If you a need VS2010 sample, switch to the VS2010 branch.)
Another great place to find examples are from the tests for the SpecFlow project itself.
In particular those used to test the Gherkin parsing: https://github.com/techtalk/SpecFlow/tree/master/Tests/TechTalk.SpecFlow.Specs/Features
Those tests show a lot of ways to write scenarios using syntax for mutliline parameters, table parameters, templates, and more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With