I’m creating an application with Rspec and Cucumber. My application use a lot of Javascript and Ajax and it works but… I have always many problems with Cucumber and Javascript. In addition, it’s very slow. For each launch, it start firefox and for each scenario it must login my site. I think than I could use mock with rspec for the login part(???).
Do you think than it’s better to use Cucumber rather than RSpec/Capybara (and maybe Steak)? Is it faster to forget cucumber? How are you doing you’re acceptances tests?
At my company we replaced Cucumber with Rspec+Capybara it’s faster and more concise in my opinion. All the code for your test is in one place for the most part which makes it easier for debugging too.