Mocking Web Requests

Webmock

WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.

Rubygem webmock

Total Downloads
2848862
Releases
71
Current Version
1.17.4
Released
2014-03-01 23:00:00 UTC
First Release
2009-11-20 00:00:00 UTC

Github bblimke/webmock

Watchers
1241
Forks
182
Development activity
Active
Last commit
2014-02-12 20:52:01 UTC
Contributors
86
Issues
Wiki pages

VCR

VCR provides a simple API to record and replay your test suite's HTTP interactions. It works with a variety of HTTP client libraries, HTTP stubbing libraries and testing frameworks.

Rubygem vcr

Total Downloads
1489380
Releases
56
Current Version
2.9.0
Released
2014-03-27 00:00:00 UTC
First Release
2010-02-25 08:00:00 UTC
Depends on following gems
Depending Gems
833

Github vcr/vcr

Watchers
1755
Forks
213
Development activity
Less active
Last commit
2014-04-02 15:09:26 UTC
Contributors
30
Issues
Wiki pages

Jquery-mockjax

The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses

Github appendto/jquery-mockjax

Watchers
1009
Forks
188
Development activity
Less active
Last commit
2013-09-29 02:43:10 UTC
Contributors
35
Issues
Wiki pages

Fakeweb

FakeWeb is a helper for faking web requests in Ruby. It works at a global level, without modifying code or writing extensive stubs.

Rubygem fakeweb

Total Downloads
1160784
Releases
14
Current Version
1.3.0
Released
2010-08-22 07:00:00 UTC
First Release
2009-03-11 07:00:00 UTC
Depends on following gems
Depending Gems
949

Github chrisk/fakeweb

Watchers
830
Forks
100
Development activity
Less active
Last commit
2013-12-03 01:53:02 UTC
Contributors
19
Issues

Artifice

Replaces Net::HTTP with a subclass that routes all requests to a Rack application

Rubygem artifice

Total Downloads
63260
Releases
2
Current Version
0.6
Released
2010-10-25 02:00:00 UTC
First Release
2010-03-24 07:00:00 UTC

Github wycats/artifice

Watchers
209
Forks
15
Development activity
Inactive
Last commit
2013-01-25 23:24:14 UTC
Top contributors
Contributors
5
Issues

Netrecorder

Record network responses for easy stubbing of external calls

Rubygem netrecorder

Total Downloads
12917
Releases
10
Current Version
0.2.3
Released
2010-04-13 07:00:00 UTC
First Release
2010-01-03 07:00:00 UTC
Depends on following gems
Depending Gems
1

Github chrisyoung/netrecorder

Watchers
60
Forks
8
Development activity
Inactive
Last commit
2010-04-14 07:02:53 UTC
Top contributors
Contributors
2
Issues
Wiki pages

rest-assured

Real stubs and spies for HTTP(S) services

Rubygem rest-assured

Total Downloads
20904
Releases
34
Current Version
2.0.0
Released
2014-02-01 00:00:00 UTC
First Release
2011-09-12 23:00:00 UTC
Depending Gems
0

Github artemave/REST-assured

Watchers
13
Forks
14
Development activity
Less active
Last commit
2014-03-11 19:04:24 UTC
First commit

mocktra

A webmock DSL using sinatra.

Rubygem mocktra

Total Downloads
2896
Releases
3
Current Version
1.0.2
Released
2012-03-30 00:00:00 UTC
First Release
2012-02-20 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github jugyo/mocktra

Watchers
59
Forks
2
Development activity
Inactive
Last commit
2012-03-30 03:22:04 UTC
Top contributors
Contributors
1
Issues

Stale fish

Stub HTTP responses

Rubygem stale_fish

Total Downloads
8281
Releases
9
Current Version
1.3.2
Released
2012-02-16 00:00:00 UTC
First Release
2009-10-03 09:00:00 UTC
Depends on following gems
Depending Gems
5

Github jsmestad/stale_fish

Watchers
22
Forks
3
Development activity
Inactive
Last commit
2012-02-17 01:22:41 UTC
Top contributors
Contributors
1
Issues
Wiki pages

sonar

API for Testing Rack Applications via Mock HTTP

Rubygem sonar

Total Downloads
5332
Releases
1
Current Version
0.2.1
Released
2013-07-11 00:00:00 UTC
First Release
2013-07-11 00:00:00 UTC
Depends on following gems
Depending Gems
3

Github dangerousbeans/sonar

Watchers
0
Forks
0
Development activity
Less active
Last commit
2013-07-11 15:08:17 UTC
First commit
Top contributors
Contributors
1
Issues
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.