RubyGems.org

webrat

0.2.0

Webrat lets you quickly write robust and thorough acceptance tests for a Ruby web application. By leveraging the DOM, it can run tests similarly to an in-browser testing solution without the associated performance hit (and browser dependency). The result is tests that are less fragile and more effective at verifying that the app will respond properly to users. When comparing Webrat with an in-browser testing solution like Watir or Selenium, the primary consideration should be how much JavaScript the application uses. In-browser testing is currently the only way to test JS, and that may make it a requirement for your project. If JavaScript is not central to your application, Webrat is a simpler, effective solution that will let you run your tests much faster and more frequently. (Benchmarks forthcoming.) Initial development was sponsored by EastMedia (http://www.eastmedia.com).

installgem install webrat -v 0.2.0
Authors

Bryan Helmkamp, Seth Fitzsimmons

1,466,538 total downloads 1,272 for this version
Owners

535d73db0b47b6f745e9981e80dabdb4Ffd012d72e7f61639724878825ed25a3B6c8aba7a2f27950a169057ad846ae37

Gemfile
gem 'webrat', '~> 0.2.0'
Versions
  1. 0.7.3 January 1, 2011 (14.2 MB)
  2. 0.7.2 October 19, 2010 (14.2 MB)
  3. 0.7.2.beta.2 October 6, 2010 (14.2 MB)
  4. 0.7.2.beta.1 July 25, 2010 (14.2 MB)
  5. 0.7.1 April 26, 2010 (13.6 MB)
Show all versions (22 total)
Runtime Dependencies
  1. hoe >= 1.5.1
  2. hpricot >= 0.6