Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BDD, SpecFlow and Gherkin all together [closed]

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?

like image 691
Ibrahim Najjar Avatar asked Nov 18 '12 23:11

Ibrahim Najjar


People also ask

Does SpecFlow use Cucumber?

Cucumber Expressions are supported natively by SpecFlow from v4.

Is Cucumber and SpecFlow are the same?

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.

Does SpecFlow use Gherkin?

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.

Are Gherkin scenarios with multiple when then pairs okay?

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.


1 Answers

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.

  • http://www.amazon.com/Agile-Development-SCRUM-Professional-Apress/dp/1430235330

Personally I have learnt about it through the following articles/ videos:

  • http://msdn.microsoft.com/en-us/magazine/gg490346.aspx
  • http://channel9.msdn.com/Series/mvcConf/mvcConf-2-Brandom-Satrom-BDD-in-ASPNET-MVC-using-SpecFlow-WatiN-and-WatiN-Test-Helpers
  • http://www.codeproject.com/Articles/82891/BDD-using-SpecFlow-on-ASP-NET-MVC-Application
  • http://blog.stevensanderson.com/2010/03/03/behavior-driven-development-bdd-with-specflow-and-aspnet-mvc/
like image 71
skub Avatar answered Oct 11 '22 09:10

skub