Category

Mocking

This category does not have a description yet. You can add one on github!

2.03
A long-lived project that still receives updates
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
22.11
A long-lived project that still receives updates
RSpec's 'test double' framework, with support for stubbing and mocking
2019
2020
2021
2022
2023
2024
0.38
There's a lot of open issues
No release in over a year
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.08
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
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
1.17
A long-lived project that still receives updates
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.12
No commit activity in last 3 years
No release in over 3 years
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.13
Low commit activity in last 3 years
There's a lot of open issues
No release in over a year
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.03
No commit activity in last 3 years
No release in over 3 years
A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.
2019
2020
2021
2022
2023
2024
0.02
No commit activity in last 3 years
No release in over 3 years
Framework to aid in handrolling mock/spy objects.
2019
2020
2021
2022
2023
2024
0.01
No commit activity in last 3 years
No release in over 3 years
A simple stub & mock library.
2019
2020
2021
2022
2023
2024
0.0
The project is in a healthy, maintained state
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
0.01
No commit activity in last 3 years
No release in over 3 years
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.03
No commit activity in last 3 years
Stubbing and mocking that doesn't hurt or suck. WIN.