/http_vanilli

Lip-synced http connections with pluggable band members for testing.

Primary LanguageRubyMIT LicenseMIT

HttpVanilli

HttpVanilli is a flexible web connection mocking library. It gives you lip-synced http connections with pluggable band members for testing.

Install

gem install http_vanilli

Usage

Please see api.eg.html

Rationale

TODO, but see the api example for how it differs from Fakeweb & webmock.

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.

Credits

HttpVanilli is by Lachie Cox.

Net::HTTP integration code appropriated from Fakeweb (It seems fakeweb is under GPL; I'll rewrite that code if that's a problem)

Meta

HttpVanilli's code is hosted at http://github.com/lachie/http_vanilli.

Please let me know about problems at http://github.com/lachie/http_vanilli/issues

License

Copyright © 2010 Lachie Cox. Released under an MIT license, please see License for details.