tags:

views:

355

answers:

3

I've recently been getting into BDD and think it holds great promise as a way to get a stakeholder's voice back in the apps we, as developers, create for them. What's your favorite BDD framework and why?

+2  A: 

Hi there.

My personal favourite is MSpec since I really like the integration with Resharper. Using BDD style tests reads a lot better for me and MSPec is a nice, light framework to use.

Here some other popular frameworks:

EDIT:

I've started using StoryQ in the past month or so, and have found it to be really good. In fact, I'm preferring it over MSpec. Will see how things turn out.

Cheers. Jas.

Jason Evans
Any update on your preferences? I like the style of StoryQ for acceptance tests, and could see it being the king-of-the-hill there--but MSpec seems a bit better for writing more technical tests in the Context-Specification style
STW
@STW - I've been using StoryQ for a while now and have found it very effective. It can take longer to write up the tests, but you do get a code generator with StoryQ that takes your BDD text and turns them into code. StoryQ has that extra level of verbosity that MSpec lacked for me. I was finding it hard to expand on scenarios and contexts without getting tied up with code structure. MSpec is still ace though, highly recommended, but I'll stick with StoryQ for a while.
Jason Evans
A: 

I believe MSpec has growing popularity.

Oded
+2  A: 

I haven't used any of the others, but appreciate StoryQ in my current projects since it uses NUnit which make the stories run just like any other unit test, hence allowing me to use TestDriven.Net as usual.

Also, the HTML report is very nice in order for the stakeholders to follow the progress (a web page on our TeamCity server).

Martin R-L