开发者

Should I create Cucumber features for API gem

I gonna create gem that holds the business logic of the rubywarrior gem and make it to use that AP开发者_如何学PythonI gem for logic, and be used only for terminal command for playing the game. Okay so should I write features for that future gem or specs are enough?


Specs seem like they would have a better value for the time invested than cucumber.

Cucumber provides the advantage of human readable specs for non-technical stakeholders, but if you're shipping a gem that may not be worth much.

I vote for rspec functional tests.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜