Skip to content
Browse files

Documentation

  • Loading branch information...
1 parent 0e7b4c6 commit f9571d0c699241e0a5e55b2db326e1523f85e59f @mattheworiordan committed Oct 20, 2011
Showing with 59 additions and 0 deletions.
  1. +19 −0 LICENSE
  2. +40 −0 README.md
View
19 LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2011 Matthew O'Riordan, inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
40 README.md
@@ -0,0 +1,40 @@
+capybara-screenshot gem
+=======================
+
+Using this gem, whenever a [capybara](https://github.com/jnicklas/capybara) [cucumber](http://cukes.info/) scenario fails, the HTML for the failed page and a screenshot (when using [capybara-webkit](https://github.com/thoughtbot/capybara-webkit)) is saved into /tmp/capybara.
+
+This is a huge help when trying to diagnose a problem in your failing steps as you can view the source code and potentially how the page looked at the time of the failure.
+
+Usage
+-----
+
+ gem install capybara-screenshot
+
+or update your Gemfile to include:
+
+ group :test do
+ gem 'capybara-screenshot'
+ end
+
+That's it!
+
+Repository
+----------
+
+Please fork, submit patches or feedback at [https://github.com/mattheworiordan/capybara-screenshot](https://github.com/mattheworiordan/capybara-screenshot)
+
+The gem details on RubyGems.org can be found at [https://rubygems.org/gems/capybara-screenshot](https://rubygems.org/gems/capybara-screenshot)
+
+About
+-----
+
+This gem was written by **Matthew O'Riordan**
+
+ - [http://mattheworiordan.com](http://mattheworiordan.com)
+ - [@mattheworiordan](http://twitter.com/#!/mattheworiordan)
+ - [Linked In](http://www.linkedin.com/in/lemon)
+
+License
+-------
+
+Copyright © 2011 Matthew O'Riordan, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

0 comments on commit f9571d0

Please sign in to comment.
Something went wrong with that request. Please try again.