Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What BDD frameworks are popular in .net?

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?

like image 405
Lee Warner Avatar asked Mar 02 '10 20:03

Lee Warner


People also ask

Is Jasmine BDD or TDD?

Even though the Jasmine website tells us that Jasmine is a BDD framework, you can also use it with TDD and unit testing.

Is Selenium TDD or BDD?

One of the benefits of using Selenium for test automation is to apply software development processes that improve test-driven development and enable domain-driven, object-oriented analysis. One such development process is a type of test-driven development (TDD) framework known as behavior-driven development (BDD).

Is BDD framework and Cucumber is same?

The answer is, Behavior Driven Development (BDD) Framework. Cucumber is one such open source tool, which supports behavior driven development. To be more precise, Cucumber can be defined as a testing framework, driven by plain English text.


2 Answers

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:

  • NBehave
  • NSpec
  • Another NSpec (not related to the above NSpec)

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.

like image 148
Jason Evans Avatar answered Sep 24 '22 01:09

Jason Evans


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).

like image 44
Martin R-L Avatar answered Sep 23 '22 01:09

Martin R-L