So far I do not know the deepest details about how this works. But I am doing enough to give you some perspective.
Cucumbers is a platform for testing the acceptance use of rubies; it allows you to write acceptance in plain English. Now, on the whole, he sits on top of Webrat or Capybara, which provide him with his true strength, that is, Simulated Browser or Automated Browser.
Capybara or Webrat make it easy to run acceptance testing. Capybara makes it easy to use a variety of drivers for acceptance testing. Drivers i.e. Selenium, speed or stance. In the case of vanilla, the test stand is used to simulate browser testing.
Rack-Test , , .. capybara. , , (, -), . Capybara .. , ( ), .
Cucumber , / .. , .. .