I've recently dabbled in testing a Rails application with Rspec, and I'm curious to know: how easy is it to use Rspec with Cucumber? Also, is there any benefits and/or issues with using Rspec with Cucumber?
Cucumber and RSpec are complimentary tools. You use Cucumber to write high-level end-to-end tests that you can share with project stakeholders, and RSpec to write microtests for individual classes and modules. The RSpec Book explains the process of moving between these two levels of tests very well:
Cucumber and RSpec are complimentary tools. You use Cucumber to write high-level end-to-end tests that you can share with project stakeholders, and RSpec to write microtests for individual classes and modules. The RSpec Book explains the process of moving between these two levels of tests very well:
Thanks for the clarification; however the source of confusion was my lack of clarity on RSpec Stories. I've since searched for more information and clarified my understanding.
I found a beautiful pie. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards