I have heard of BDD (Behavior Driven Development) just recently, and I liked the idea. since I work mainly with C# and .NET, I found SpecFlow, then learned that SpecFlow uses Gherkin and now I feel lost. Where do you find official documentation that tells you everything you need to know about SpecFlow, the same for Gherkin.
In short: is there a book (not blogs and articles) about developing real life (practical) applications using these tools?
Cucumber Expressions are supported natively by SpecFlow from v4.
Cucumber is an application that reads Gherkin syntax plain text specification files and runs ruby files to execute those specifications. Specflow is a 'port' of cucumber for . net that also uses Gherkin syntax files but wires them up to . net code.
SpecFlow tests are written using Gherkin, which allows you to write test cases using natural languages. SpecFlow uses the official Gherkin parser, which supports over 70 languages.
The Cardinal Rule is a way to break out of the procedure-driven mindset, and banning multiple When-Then pairs per Gherkin scenario is an effective rule for enforcing it.
Not sure if there are many books out there that covers this. The book: Pro Agile .NET development with SCRUM does cover BDD in one of their chapters.
Personally I have learnt about it through the following articles/ videos:
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