Rspec integration tests without cucumber?

Is there a way to do integration tests with Rspec without using Cucumber? I prefer using just plain old Webrat. Thanks.

Integration test without cucumber?

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 ver

Where to put VCR config when using both rspec and cucumber

I’m using both rspec and cucumber. Cucumber of integration level tests, but rspec for unit tests. I’m using vcr for cucumber already, but want to use it for rspec, too. Where’s the right place to put

Rails Integration Tests: reducing execution time

I want to share my finding and hear from others about successful and failed attepts to reduce execution time of integration tests of Rails applications (be it ‘ordinary’ tests, Cucumber- or RSpec-base

Organizing rspec 2 tests into ‘unit’ and ‘integration’ categories in rails

How to organize rspec 2 tests into ‘unit’ (fast) and ‘integration’ (slow) categories? I want to be able to run all unit tests with just rspec command, but not the ‘integration’ tests. I want to be

NoMethod error for Capybara without Rails,Rspec or Cucumber

I’m trying to run Capybara without Rails,Cucumber,Rspec just in pure Ruby. My test script looks like this: require ‘capybara’ require ‘selenium-webdriver’ url = MyAccessKey capabilities = Selenium:

Cucumber/Rspec: Is there a way to extract tests from existing code?

I’m going to begin learning cucumber/rspec. I’ve few application in rails3/mysql and rails3/mongoid which I wrote without any test 🙁 Should be wonder if I could have a cucumber/rspec generator w

Use rspec only in integration tests

I have a project which works well with rails default test suite Test::Unit and I have no reason to change the tests I have written. But when I write integration test with capybara, I found that capyba

Cucumber and Rspec sharing factory girl factories

I’m designing a test around rails using Cucumber and Rspec and I was wondering if it is good practice sharing the Factory Girl factory code between the Cucumber acceptance test and Rspec unit tests. A

Can ‘cucumber’ run my rspec-on-rails tests?

I have a small test project that I’m using to test the waters for a much larger project. I am using rspec on rails for testing, but recently looked into Cucumber. It looks very nice, but I’m wondering

Why is cucumber considered an integration testing tool instead of a unit testing tool?

This has always bothered me. Why is it people say to unit test in rspec but integration test in cucumber? I am not asking why these tests are necessary – I know what the difference is between integrat


As far as I know Rspec is perfectly capable of testing views and controllers as part of integration tests. A quick look around the internet shows this article at Robby on Rails on view testing and some of the Rdocs within RSpec might help.

Hope this points you in the right direction – I’m afraid I use cucumber myself.

So far, the only article I found is this


The latest version of RSpec-Rails (1.2.7) now has integration support. Upgrade then start adding specs to spec/integration or use the ‘integration_spec’ generator. Configure Webrat in spec/spec_helper.rb and you’re set!

Check this link at RailsCasts. This is a nice episode of doing integration tests with rspec.

We’ve recently started using RSpec with Capybara over Cucumber. Here is a “beginners” blog post I recently wrote on using RSpec integration tests without cucumber.

End-to-end testing with RSpec integration tests and Capybara

Let me know if you have any questions on getting your system set up.