Ruby Mock

Open-source Ruby projects categorized as Mock

Top 9 Ruby Mock Projects

  • WebMock

    Library for stubbing and setting expectations on HTTP requests in Ruby.

  • Project mention: CableReady broadcasts are not working in system tests | /r/rails | 2023-05-10

    If you want to check out an alternative to VCR, have a look at webmock.

  • DuckRails

    Development tool to mock API endpoints quickly and easily (docker image available)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mocha

    Mocha is a mocking and stubbing library for Ruby (by freerange)

  • ActiveMocker

    Generate mocks from ActiveRecord models for unit tests that run fast because they donโ€™t need to load Rails or a database.

  • Impersonator

    Ruby library to record and replay object interactions (by jorgemanrubia)

  • ruby-dns-mock

    DNS mock server written on ๐Ÿ’Ž Ruby. Mimic any DNS records for your test environment with fake DNS server.

  • Request Interceptor

    Sinatra based foreign API simulation for your testsuite

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • TestXml

    Small library to test your xml with Test::Unit or RSpec

  • open_api_import

    Ruby gem open_api_import -- Import a Swagger or Open API file and create a Ruby Request Hash file including all requests and responses

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby Mock related posts

  • CableReady broadcasts are not working in system tests

    1 project | /r/rails | 10 May 2023
  • DNS server for simulating the Internet

    2 projects | /r/dns | 2 May 2023
  • TDD is super important and useful!

    1 project | /r/ProgrammerHumor | 13 Feb 2023
  • Are there any testing frameworks to intercept HTTP and Database calls?

    2 projects | /r/ruby | 3 Jan 2023
  • Configure VCR with RSpec

    2 projects | dev.to | 23 Jul 2022
  • Testing Dependencies: Fake It While You Make It

    3 projects | dev.to | 5 Jun 2022
  • Microsoft Exchange stops passing mail due to bug on 1/1/22

    4 projects | news.ycombinator.com | 1 Jan 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 4 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more โ†’

Index

What are some of the best open-source Mock projects in Ruby? This list will help you:

Project Stars
1 WebMock 3,912
2 DuckRails 1,719
3 mocha 1,194
4 ActiveMocker 503
5 Impersonator 115
6 ruby-dns-mock 64
7 Request Interceptor 31
8 TestXml 30
9 open_api_import 10

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com