Topic: What it is better to use Rspec or Cucumber?

I wish to start to use approach BDD, and here has faced two tools for testing. Explain a difference between them and that it is better to use for testing of the appendices.
Thaks.

Re: What it is better to use Rspec or Cucumber?

The difference is trivial. Cucumber is intended to be used for acceptance tests, and rspec for unit tests.

Re: What it is better to use Rspec or Cucumber?

You should be using both. Well either that or cucumber and test unit.

Cucumber takes care of your integration/acceptance testing, and rspec/test unit should take care of your model unit tests. A typical workflow for me with this is,

1) Define feature scenario in cucumber for what my end goal is for the functionality
2) Start implementing each step of the feature scenario
3) For each part of functionality required that is in a model, BDD that with rspec
4) repeat until functionality is complete

That way you have Integration testing covered for an end to end request in your application, and each part of your model can be built and tested in isolation as well using rspec or test unit.