FindSoftware

WebMock

Ruby library that stubs HTTP requests and sets expectations on them in tests.

WebMock stubs HTTP requests and sets expectations on them in Ruby tests. It works at the level of the low HTTP client library, so tests keep their stubs when an application changes its HTTP library, and it supports RSpec, MiniTest and Test::Unit. For recording real traffic and replaying it later, the README points to VCR used together with WebMock.

Identity

Status
Active
Maintainer
Bartosz Blimke4
Maintained by
Individual
First release
20093

Rendering and deploy

Install with
gem, source5

Releases

Current major version
37
Last release
2026-10-147

Adoption

GitHub stars
4,0491
Contributors
2518
Dependent repositories
60,59010
Dependent packages
8,35310

Why these figures do not compare

Sources

  1. 2026-11-17: links, Written in, GitHub stars
    api.github.com/repos/bblimke/webmock
  2. 2026-11-17: links
    github.com/bblimke/webmock/blob/master/README.md
  3. 2026-11-17: First release
    rubygems.org/api/v1/versions/webmock.json
  4. 2026-11-17: Maintainer
    raw.githubusercontent.com/bblimke/webmock/master/LICENSE
  5. 2026-11-17: Runtime, Categories, Install with
    raw.githubusercontent.com/bblimke/webmock/master/README.md
  6. 2026-11-17: Minimum runtime
    raw.githubusercontent.com/bblimke/webmock/v3.34.0/webmock.gemspec
  7. 2026-11-17: Current major version, Last release
    api.github.com/repos/bblimke/webmock/releases?per_page=100
  8. 2026-11-17: Contributors
    api.github.com/repos/bblimke/webmock/contributors?per_page=1
  9. 2026-11-17: License
    rubygems.org/api/v1/gems/webmock.json
  10. 2026-11-17: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/webmock

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON