LFX Platform

Know more about LFX Platform

LFX Insights
Curated Collections

Test Double Libraries

Libraries providing test spies, stubs, and mocks that help developers simulate and verify behavior in unit tests.

The Linux Foundation

by The Linux Foundation

44 projects ・ Updated 14 Mar 2025

Project
Contributors
Organizations
Software value
Jest
16,374
4,818
$5.8M
Moto
4,681
980
$133M
Enzyme
4,376
1,262
$1.1M
Robolectric
4,279
671
$11M
PHPUnit
3,825
1,339
$4.5M
Faker Ruby
2,997
759
$8.2M
RSpec Rails
2,803
1,026
$572K
Mockito
2,636
563
$2.4M
Sinon.JS
2,301
821
$1.1M
React Testing Library
2,104
611
$116K
factory_bot
2,100
754
$452K
Testify
2,024
800
$660K
Nock
1,700
645
$528K
DOM Testing Library
1,292
418
$321K
Faker
1,263
298
$9.2M
WebMock
1,255
508
$474K
Mockery
1,123
369
$3.7M
Testcontainers for Go
1,103
383
$2.2M
factory_boy
1,088
404
$418K
VCR
1,050
467
$865K
GoMock
744
304
$241K
Alice
698
219
$1.5M
NSubstitute
690
139
$794K
factory_bot_rails
675
264
$48K
Responses
667
244
$218K
Bogus
525
95
$5.5M
Datafaker
521
77
$8.4M
FakeFS
436
181
$242K
Verify
404
123
$6M
eslint-plugin-testing-library
373
123
$919K
MSW Interceptors
352
133
$693K
MockRedis
335
95
$317K
Zenstruck Foundry
330
93
$713K
ioredis-mock
327
111
$540K
Sinon.js Fake Timers
302
143
$255K
Polly.JS
293
102
$691K
ApprovalTests.Java
203
48
$1.4M
EasyMock
189
53
$3.5M
ApprovalTests.Python
177
29
$371K
sebastian/comparator
144
70
$547K
RR
115
43
$414K
python-dbusmock
105
41
$272K
Freerange Mocha: Ruby Mocking and Stubbing Library
0
0
$0
Nise
0
0
$0
Looking for a project that’s not listed?