Mocking
This category does not have a description yet. You can add one on github!
17.42
RSpec's 'test double' framework, with support for stubbing and mocking
2021
2022
2023
2024
2025
2026
1.74
A library for mocking and stubbing with a unified, simple and readable syntax for both full & partial mocking. Built-in support for Minitest and Test::Unit. Supported by many other test frameworks, e.g. RSpec.
2021
2022
2023
2024
2025
2026
1.0
Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
2021
2022
2023
2024
2025
2026
0.29
RR is a test double framework that features a rich selection of double techniques and a terse syntax.
2021
2022
2023
2024
2025
2026
0.11
Spy is a mocking library that was made for the modern age. It supports only 2.1.0+. Spy by default will raise an error if you attempt to stub a method that doesn't exist or call the stubbed method with the wrong arity.
2021
2022
2023
2024
2025
2026
0.09
Decreases the need to write integration tests by ensuring that the things you stub or mock actually exist.
2021
2022
2023
2024
2025
2026
0.07
FlexMock is a extremely simple mock object class compatible
with the Minitest framework. Although the FlexMock's
interface is simple, it is very flexible.
2021
2022
2023
2024
2025
2026
0.02
Framework to aid in handrolling mock/spy objects.
2021
2022
2023
2024
2025
2026
0.02
A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.
2021
2022
2023
2024
2025
2026
0.01
A simple stub & mock library.
2021
2022
2023
2024
2025
2026
0.01
A fast, tiny (82 lines) hybrid mocking library that supports classical and partial mocking. Partial mocking mixes classical mocking with real objects. There's no monkey patching `Object` or copying. Mock objects are isolated leaving real objects completely untainted.
2021
2022
2023
2024
2025
2026
0.0
Contract tests for rspec
2021
2022
2023
2024
2025
2026
0.0
Simple cross process stubbing
2021
2022
2023
2024
2025
2026
0.0
Simple Minitest helper to replace values such as an instance variable of an
object or an environment variable for the duration of a block or a group of
tests. This comes in very handy when you have to derive from default
configuration in order to test some aspects of your code.
2021
2022
2023
2024
2025
2026