Category

Mocking

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

rspec-mocks

49.72
RSpec's 'test double' framework, with support for stubbing and mocking
 Popularity
Downloads
245,375,347
Stars
896
Forks
281
Watchers
45
 Releases
Current version
3.7.0
Total releases
105
First release
Latest release
 Activity
Issue Closure Rate
92%
Pull Request Acceptance Rate
80%
Average date of last 50 commits
within last year
Reverse Depencencies
538

mocha

4.31
Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.
 Popularity
Downloads
19,514,520
Stars
937
Forks
125
Watchers
24
 Releases
Current version
1.5.0
Total releases
66
First release
Latest release
 Activity
Issue Closure Rate
72%
Pull Request Acceptance Rate
40%
Average date of last 50 commits
within last year
Reverse Depencencies
3,578

mock_redis

0.81
Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
 Popularity
Downloads
3,048,559
Stars
302
Forks
91
Watchers
54
 Releases
Current version
0.18.0
Total releases
48
First release
Latest release
 Activity
Issue Closure Rate
86%
Pull Request Acceptance Rate
10%
Average date of last 50 commits
within last 2 years
Reverse Depencencies
111

rr

0.49
RR is a test double framework that features a rich selection of double techniques and a terse syntax.
 Popularity
Downloads
1,976,960
Stars
252
Forks
20
Watchers
12
 Releases
Current version
1.2.1
Total releases
78
First release
Latest release
 Activity
Issue Closure Rate
50%
Pull Request Acceptance Rate
50%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
617

flexmock

0.15
FlexMock is a extremely simple mock object class compatible with the Minitest framework. Although the FlexMock's interface is simple, it is very flexible.
 Popularity
Downloads
685,655
Stars
10
Forks
5
Watchers
3
 Releases
Current version
2.3.6
Total releases
73
First release
Latest release
 Activity
Issue Closure Rate
50%
Pull Request Acceptance Rate
100%
Average date of last 50 commits
within last 2 years
Reverse Depencencies
187

bogus

0.12
Decreases the need to write integration tests by ensuring that the things you stub or mock actually exist.
 Popularity
Downloads
83,879
Stars
356
Forks
12
Watchers
13
 Releases
Current version
0.1.6
Total releases
13
First release
Latest release
 Activity
Issue Closure Rate
77%
Pull Request Acceptance Rate
72%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
12

spy

0.05
Spy is a mocking library that was made for the modern age. It supports only 1.9.3+. 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.
 Popularity
Downloads
119,376
Stars
49
Forks
11
Watchers
3
 Releases
Current version
0.4.5
Total releases
14
First release
Latest release
 Activity
Issue Closure Rate
0%
Pull Request Acceptance Rate
71%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
6

jm/stump

0.03
Stubbing and mocking that doesn't hurt or suck. WIN.
 Popularity
Stars
45
Forks
4
Watchers
3
 Activity
Pull Request Acceptance Rate
0%
Average date of last 50 commits
more than 2 years ago

surrogate

0.03
Framework to aid in handrolling mock/spy objects.
 Popularity
Downloads
70,911
Stars
32
Forks
8
Watchers
3
 Releases
Current version
0.8.1
Total releases
22
First release
Latest release
 Activity
Issue Closure Rate
0%
Pull Request Acceptance Rate
85%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
4

facon

0.02
A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.
 Popularity
Downloads
19,873
Stars
37
Forks
8
Watchers
3
 Releases
Current version
0.5.0
Total releases
7
First release
Latest release
 Activity
Pull Request Acceptance Rate
100%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
8

verified_double

0.01
Contract tests for rspec
 Popularity
Downloads
24,193
 Releases
Current version
0.8.1
Total releases
19
First release
Latest release
 Activity
Reverse Depencencies
1

cross-stub

0.01
Simple cross process stubbing
 Popularity
Downloads
30,705
Stars
19
Forks
0
Watchers
3
 Releases
Current version
0.2.4
Total releases
11
First release
Latest release
 Activity
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
0

mocoso

0.01
A simple stub & mock library.
 Popularity
Downloads
17,764
Stars
16
Forks
2
Watchers
2
 Releases
Current version
1.2.3
Total releases
12
First release
Latest release
 Activity
Pull Request Acceptance Rate
33%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
4

simple_mock

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.
 Popularity
Downloads
11,442
Stars
38
Forks
0
Watchers
4
 Releases
Current version
0.0.2
Total releases
2
First release
Latest release
 Activity
Issue Closure Rate
0%
Pull Request Acceptance Rate
50%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
1