开发者

Should I create Cucumber features for API gem

开发者 https://www.devze.com 2023-04-01 16:59 出处:网络
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 s

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

精彩评论

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