Cuke4Nuke or SpecFlow?

后端 未结 6 1470
终归单人心
终归单人心 2020-12-23 17:02

I am trying to decide if I should use Cuke4Nuke or SpecFlow. What are the pro/cons of each? Opinions on which is better and why.

Thanks!

6条回答
  •  伪装坚强ぢ
    2020-12-23 17:29

    Another heavily biased opinion: Try StoryQ :)

    StoryQ tests are actually code, so you get much better refactoring / IDE support, and it embeds within your existing unit test runner, so CI is a breeze.

    It's probably a matter of preference whether you'd rather check in plain text features or compilable code. But for us we found that it was really nice to be able to rename narrative methods and have all the stories update themselves.

    There is actually a GUI provided that will convert plain text scenarios into StoryQ code for you, if you've already got an investment in plaintext scenarios or if you'd like to give the keyboard to your business people. It's even got a simple form of intellisense!

    Give it a go if you want an ultra-lightweight entry point into BDD :)

提交回复
热议问题