Mocking
This category does not have a description yet. You can add one on github!
20.22
RSpec's 'test double' framework, with support for stubbing and mocking
2019
2020
2021
2022
2023
2024
1.95
Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.
2019
2020
2021
2022
2023
2024
1.13
Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
2019
2020
2021
2022
2023
2024
0.36
RR is a test double framework that features a rich selection of double techniques and a terse syntax.
2019
2020
2021
2022
2023
2024
0.12
Decreases the need to write integration tests by ensuring that the things you stub or mock actually exist.
2019
2020
2021
2022
2023
2024
0.12
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.
2019
2020
2021
2022
2023
2024
0.08
FlexMock is a extremely simple mock object class compatible
with the Minitest framework. Although the FlexMock's
interface is simple, it is very flexible.
2019
2020
2021
2022
2023
2024
0.02
Framework to aid in handrolling mock/spy objects.
2019
2020
2021
2022
2023
2024
0.02
A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.
2019
2020
2021
2022
2023
2024
0.01
Simple cross process stubbing
2019
2020
2021
2022
2023
2024
0.01
A simple stub & mock library.
2019
2020
2021
2022
2023
2024
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.
2019
2020
2021
2022
2023
2024
0.0
Contract tests for rspec
2019
2020
2021
2022
2023
2024
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.
2019
2020
2021
2022
2023
2024