What BDD frameworks are popular in .net?

I recently got into BDD and I think that it has great prospects as a way to return the voice of stakeholders in the applications that we, as developers, create for them. What is your favorite BDD structure and why?

+7
bdd mspec nspec
source share
5 answers

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

Here are some other popular frameworks:

EDIT:

I started using StoryQ in the last month or so and found it to be really good. In fact, I prefer it over MSpec. See how it works out.

+7
source share

I have not used any of the others, but I appreciate StoryQ in my current projects, as it uses NUnit, which forces the story to run like any other unit test, which allows me to use TestDriven.Net as usual.

In addition, the HTML report is very pleasant so that interested parties can follow the progress (web page on our TeamCity server).

+6
source share

Take a look at SpecFlow - it looks very good to me. After presenting the code camp on BDD, I decided to give him a chance and see how it fits into my workflow. There are several videos in which BDD is here from Brady Gaster. Pretty good stuff.

+5
source share

I believe that MSpec is growing.

0
source share

I like Concordion.NET because it is very flexible and powerful. Recently, it has been integrated with NUnit to run Concordion.NET tests: https://github.com/concordion/concordion-net Thus, it can be used with any environment that supports NUnit execution, Concordion.NET is an open environment source code for behavior driven development (BDD). Specifications of the expected behavior are written in HTML, so they can be easily hyperlinked to the navigation structure. These files contain references to fixtures in test code that are executed using NUnit. Concordion.NET acceptance tests are so readable that they can double as system documentation. And, since the tests are against the system, you can be sure that the documentation is always up to date.

0
source share

All Articles