Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SpecFlow vs Cuke4Nuke vs Cucumber+IR

Having a look at BDD frameworks and I can't help but wonder which one would suit us better. I like Cucumber because, they have been there doing BDD for a good while(since early 2008) and I like Ruby, however, we are a .net shop and although I find Ruby very friendly, other people don't; and I think that is fair enough (to a point)
Cuke4Nuke, I can see it uses Cucumber under the hood, but it seems to be very early days. I haven't actually tested SpecFlow but I heard good things about it and I know it uses the same meta language for specification I have looked into StoryTeller, could be nice, but I need something that is gonna be there in the next 5-10 years, and I dont know if that will be.

So what do you think is a good suit?

Cheers

like image 500
roundcrisis Avatar asked Mar 19 '10 11:03

roundcrisis


People also ask

What is the difference between SpecFlow and Cucumber?

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.

Is SpecFlow part of Cucumber?

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.

What is SpecFlow and 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.

Is SpecFlow useful?

SpecFlow helps to define, manage, and automatically execute human-readable tests in . NET projects. It facilitates collaboration between all business stakeholders. SpecFlow uses simple English language and acts as a bridge between business and technical languages.


2 Answers

SpecFlow is better at the moment, it is stable and has better integration with visual studio 2008/2010.

You can also refer to here: Cuke4Nuke or SpecFlow?

like image 146
schrodinger's code Avatar answered Jan 03 '23 06:01

schrodinger's code


Personally I prefer Cucumber, Cuke4Nuke, and Cuke4Vs. We don't just do .NET development.
This allows performing BDD with ruby and Java (Cuke4Duke) using similar tools.
I just like the consistency of use across multiple languages for development. Since Cuke4Nuke is a wire protocal, Cuke4 adapters for almost any language could be developed.

The only issue my team will soon have is Cuke4Vs does not work with VS2010 right now and we will be upgrading soon. Of course you don't need CukeVs to use Cuke4Vs, it just makes it easier for the developers.

I agree that it is not necessarily better than SpecFlow. I tried it and it works good. If you only have .NET development and no Ruby/IronRuby, Java, etc. It can be a good choice as well.

like image 29
javelinBCD Avatar answered Jan 03 '23 08:01

javelinBCD