rspec-stories

RSpec vs Cucumber (RSpec stories) [closed]

谁说我不能喝 提交于 2019-11-26 21:14:34
When should I use specs for Rails application and when Cucumber (former rspec-stories)? I know how both work and actively use specs, of course. But it still feels weird to use Cucumber. My current view on this, is that it's convenient to use Cucumber when you're implementing application for the client and do not understand how the whole system is supposed to work yet. But what if I'm doing my own project? For most of the time, I know how the parts of the system interact. All I need to do is to write a bunch of unit-tests. What are the possible situations when I would need Cucumber then? And,

RSpec vs Cucumber (RSpec stories) [closed]

早过忘川 提交于 2019-11-26 07:52:09
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . When should I use specs for Rails application and when Cucumber (former rspec-stories)? I know how both work and actively use specs,