November 2012
Intermediate to advanced
326 pages
6h 41m
English
Capybara is an acceptance test framework for web applications in Ruby. It integrates with Ruby-based BDD frameworks such as Cucumber and RSpec along with Selenium WebDriver for web testing capabilities. Capybara is widely used in testing Rails applications.
In this recipe, we will see how to use Capybara, Cucumber, and Selenium to test BMI Calculator application.
gem install capybara
gem install cucumber gem install rspec
In Capybara, we need to create a features file for the stories under test. ...
Read now
Unlock full access