开发者

Which of these BDD tools are more appropriate and has more advantages for C# applications?

I would like to know your recommendation for which tool has more advantages when it comes to BDD development process:

  • SpecFlow
  • Cuke4Nuke (Cucumber port for .NET)
  • Nbehave
  • StoreEvil
  • Bddify
  • NSpec
  • Nspecify
  • StoryQ

I personally use Cucumber (on Ruby for Windows), also it seems SpecFlow is very simi开发者_Go百科lar. But I would like your recommendation on any other nice tools!


You could add MSpec to your list. MSpec is my personal favourite simply because I've used it more often/regularly. Which one you chose is, as with Unit Testing frameworks, mainly an primarily a matter of taste.

Take a couple of them out for a test run and decide based on:

  • Which one you feel the most comfortable with
  • Which has the better (online) documentation
  • Which has the liveliest community


You've missed out my recommendation:

Write it in code.

It's not very hard to knock up a little DSL which can support your BDD. Here's one I made earlier. Even business people can read this.

The only reason to use BDD frameworks, really, is to capture the conversations you have with your business stakeholders. The conversations are much more important! If your business stakeholders aren't reading or writing the scenarios themselves then all you do with a BDD framework is introduce another layer of indirection. (I helped write JBehave and still prefer code.)

Having said that, if you feel you get benefit from a BDD framework, I hear great things about SpecFlow.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜