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?
Even though the Jasmine website tells us that Jasmine is a BDD framework, you can also use it with TDD and unit testing.
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).
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.
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.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With