Mocking Web Requests

Webmock

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

Rubygem webmock

Total Downloads
11218329
Releases
98
Current Version
2.0.3
Released
2016-05-20 00:00:00 UTC
First Release
2009-11-20 00:00:00 UTC

Github bblimke/webmock

Watchers
2148
Forks
311
Development activity
Very active
Last commit
2016-05-02 20:56:15 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
4910601
Releases
63
Current Version
3.0.3
Released
2016-05-22 00:00:00 UTC
First Release
2010-02-25 08:00:00 UTC

Github vcr/vcr

Watchers
2931
Forks
327
Development activity
Less active
Last commit
2016-04-28 06:59:05 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
1979369
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
1051

Github chrisk/fakeweb

Watchers
982
Forks
109
Development activity
Inactive
Last commit
2016-03-03 20:42:38 UTC
Contributors
18
Issues

Artifice

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

Rubygem artifice

Total Downloads
207411
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
14
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
48843
Releases
36
Current Version
2.0.2
Released
2016-05-24 00:00:00 UTC
First Release
2011-09-12 23:00:00 UTC
Depending Gems
0

Github artemave/REST-assured

Watchers
24
Forks
17
Development activity
Less active
Last commit
2016-04-02 11:02:50 UTC
First commit

Netrecorder

Record network responses for easy stubbing of external calls

Rubygem netrecorder

Total Downloads
19391
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
5462
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
13066
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
27
Forks
4
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
4362
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
6271
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.