开发者

What is RSpec and Cucumber [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

rspec vs cucumber (rspec stories)

开发者_开发百科
 watz the difference between them


From different wiki pages we see that:

  • RSpec is a behavior driven development (BDD) framework for the Ruby programming language, inspired by JBehave
  • Cucumber is a tool that executes plain-text functional descriptions as automated tests

So you can think of Cucumber as the tool that translate plain text into executable tests. These test can be written in for example RSpec.

But RSpec can also be used on it's own where it's a BDD framework in it own right. The specifications are then expressed not in plain english but in Ruby code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜