Category

Mocking

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

2.25
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.
2018
2019
2020
2021
2022
2023
25.57
A long-lived project that still receives updates
RSpec's 'test double' framework, with support for stubbing and mocking
2018
2019
2020
2021
2022
2023
1.23
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.
2018
2019
2020
2021
2022
2023
0.13
No release in over 3 years
Low commit activity in last 3 years
Decreases the need to write integration tests by ensuring that the things you stub or mock actually exist.
2018
2019
2020
2021
2022
2023
0.42
There's a lot of open issues
A long-lived project that still receives updates
RR is a test double framework that features a rich selection of double techniques and a terse syntax.
2018
2019
2020
2021
2022
2023
0.13
Low commit activity in last 3 years
There's a lot of open issues
A long-lived project that still receives updates
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.
2018
2019
2020
2021
2022
2023
0.04
No commit activity in last 3 years
Stubbing and mocking that doesn't hurt or suck. WIN.
0.03
No release in over 3 years
Low commit activity in last 3 years
A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.
2018
2019
2020
2021
2022
2023
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.
2018
2019
2020
2021
2022
2023
0.02
No commit activity in last 3 years
No release in over 3 years
Framework to aid in handrolling mock/spy objects.
2018
2019
2020
2021
2022
2023
0.01
No commit activity in last 3 years
No release in over 3 years
A simple stub & mock library.
2018
2019
2020
2021
2022
2023
0.07
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
FlexMock is a extremely simple mock object class compatible with the Minitest framework. Although the FlexMock's interface is simple, it is very flexible.
2018
2019
2020
2021
2022
2023