Mocking Web Requests

Webmock

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

Rubygem webmock

Total Downloads
9468405
Releases
84
Current Version
1.22.1
Released
2015-10-12 00:00:00 UTC
First Release
2009-11-20 00:00:00 UTC

Github bblimke/webmock

Watchers
1411
Forks
206
Development activity
Less active
Last commit
2014-06-22 11:34:05 UTC

VCR

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

Rubygem vcr

Total Downloads
4183441
Releases
61
Current Version
3.0.0
Released
2015-11-01 00:00:00 UTC
First Release
2010-02-25 08:00:00 UTC

Github vcr/vcr

Watchers
2791
Forks
309
Development activity
Less active
Last commit
2016-02-12 23:37:41 UTC

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
1224
Forks
236
Development activity
Active
Last commit
2014-09-01 16:27:58 UTC

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
1862460
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
1058

Github chrisk/fakeweb

Watchers
915
Forks
103
Development activity
Inactive
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
113834
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
215
Forks
15
Development activity
Inactive
Last commit
2013-01-25 23:24:14 UTC
Top contributors
Contributors
5
Issues

rest-assured

Real stubs and spies for HTTP(S) services

Rubygem rest-assured

Total Downloads
44089
Releases
35
Current Version
2.0.1
Released
2015-05-09 00:00:00 UTC
First Release
2011-09-12 23:00:00 UTC
Depending Gems
0

Github artemave/REST-assured

Watchers
23
Forks
17
Development activity
Less active
Last commit
2015-05-10 17:13:13 UTC
First commit

Netrecorder

Record network responses for easy stubbing of external calls

Rubygem netrecorder

Total Downloads
18183
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
61
Forks
9
Development activity
Inactive
Last commit
2010-04-14 07:02:53 UTC
Top contributors
Contributors
2
Issues

mocktra

A webmock DSL using sinatra.

Rubygem mocktra

Total Downloads
4178
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
12241
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
25
Forks
1
Development activity
Inactive
Last commit
2012-02-17 01:22:41 UTC
Top contributors
Contributors
1
Issues

mockjax

Ruby gem for using jquery mockjax within rspec examples

Rubygem mockjax

Total Downloads
3228
Releases
3
Current Version
0.0.3
Released
2012-06-24 00:00:00 UTC
First Release
2012-06-24 00:00:00 UTC
Depends on following gems
Depending Gems
0

Github ejholmes/mockjax

Watchers
8
Forks
3
Development activity
Inactive
Last commit
2012-07-01 06:52:59 UTC
First commit
Top contributors
Contributors
1
Issues

sonar

API for Testing Rack Applications via Mock HTTP

Rubygem sonar

Total Downloads
5708
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
Inactive
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.