Sha256: 7d0771a1533a3ad8206ee66be6638e4aa27be4c84517d0e538639295f9170f36
Contents?: true
Size: 1.76 KB
Versions: 1
Compression:
Stored size: 1.76 KB
Contents
Capybara-mechanize ================== This gems makes it possible to use Capybara for (partially) remote testing. It inherits most functionality from the RackTest driver and only uses [Mechanize](http://github.com/tenderlove/mechanize) for remote requests. It is currently in use to test the integration between a Rails application and Twitter authorization and sharing. This gem is a [Capybara](http://github.com/jnicklas/capybara) extension. I have been inspired by the Capybara driver and some earlier efforts for a Mechanize driver. Thanks to [Pinkelstar](http://www.pinkelstar.com) for giving me the time and the need to develop this gem. ### Installation gem install capybara-mechanize ### Usage without Cucumber require 'capybara/mechanize' ### Usage with Cucumber and tags A @mechanize tag is added to your hooks when you add the following line to your env.rb require 'capybara/mechanize/cucumber' The following scenario will then be using the Mechanize driver @mechanize Scenario: do something remote When I click the remote link Todo ---- * Make the redirect specs pass * Add specs for local to remote redirect (functionality is there though and works in our case) * Test this driver with non-rack/non-ruby projects Note on Patches/Pull Requests ----------------------------- * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a future version unintentionally. * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches. Copyright --------- Copyright (c) 2010 Jeroen van Dijk. See LICENSE for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capybara-mechanize-0.1.0 | README.mdown |