Mocking Web Requests

Webmock

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

Rubygem webmock

Total Downloads
5173255
Releases
78
Current Version
1.20.4
Released
2014-11-08 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

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
2600118
Releases
59
Current Version
2.9.3
Released
2014-09-08 00:00:00 UTC
First Release
2010-02-25 08:00:00 UTC
Depends on following gems
Depending Gems
1254

Github vcr/vcr

Watchers
2285
Forks
251
Development activity
Less active
Last commit
2015-01-08 17:46:48 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
1511446
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
1075

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
98416
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
32090
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
17
Forks
15
Development activity
Inactive
Last commit
2014-05-04 14:00:42 UTC
First commit

Netrecorder

Record network responses for easy stubbing of external calls

Rubygem netrecorder

Total Downloads
15629
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
62
Forks
8
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
4093
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
60
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
9962
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
3098
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
5654
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.