Git Stars Git Stars

#mocking-framework Repositories

Discover 18 active open source GitHub repositories tagged with #mocking-framework, accumulating 60,262 total stars (averaging 3,347 stars per project). Leading this topic is mswjs/msw with 18,356 stars.

18
Total Repositories
60,262
Total Stars
3,347
Avg Stars/Repo
1
mswjs/msw

The industry standard for API mocking in JavaScript.

mswjs
โญ 18,356 TypeScript ๐Ÿ‘ค mswjs Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2018-11-13
2
mockito/mockito

Most popular Mocking framework for unit tests written in Java

mockito
โญ 15,451 Java ๐Ÿ‘ค mockito Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2012-10-13
3
mockk/mockk

mocking library for Kotlin

mockk
โญ 5,768 Kotlin ๐Ÿ‘ค mockk Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2017-10-17
4
powermock/powermock

PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

powermock
โญ 4,190 Java ๐Ÿ‘ค powermock Organization ๐Ÿ• Updated 2024-01-03 ๐Ÿ“… Created 2014-05-28
5
uber-go/mock

GoMock is a mocking framework for the Go programming language.

uber-go
โญ 3,433 Go ๐Ÿ‘ค uber-go Organization ๐Ÿ• Updated 2026-08-25 ๐Ÿ“… Created 2023-05-03
6
cpputest/cpputest

CppUTest unit testing and mocking framework for C/C++

cpputest
โญ 1,485 C++ ๐Ÿ‘ค cpputest Organization ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2012-08-02
7
dashbitco/mox

Mocks and explicit contracts in Elixir

dashbitco
โญ 1,402 Elixir ๐Ÿ‘ค dashbitco Organization ๐Ÿ• Updated 2026-11-07 ๐Ÿ“… Created 2017-09-25
8
eranpeer/FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.

eranpeer
โญ 1,371 C++ ๐Ÿ‘ค eranpeer User ๐Ÿ• Updated 2026-06-30 ๐Ÿ“… Created 2013-09-01
9
ihsanbal/LoggingInterceptor

An OkHttp interceptor which has pretty logger for request and response. +Mock support

ihsanbal
โญ 1,361 Kotlin ๐Ÿ‘ค ihsanbal User ๐Ÿ• Updated 2026-02-19 ๐Ÿ“… Created 2017-02-22
10
jonreid/OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects

jonreid
โญ 987 Objective-C ๐Ÿ‘ค jonreid User ๐Ÿ• Updated 2026-11-08 ๐Ÿ“… Created 2011-11-25
11
marchaos/jest-mock-extended

Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended

marchaos
โญ 908 TypeScript ๐Ÿ‘ค marchaos User ๐Ÿ• Updated 2026-10-08 ๐Ÿ“… Created 2019-11-15
12
jefflau/jest-fetch-mock

Jest mock for fetch

jefflau
โญ 893 JavaScript ๐Ÿ‘ค jefflau User ๐Ÿ• Updated 2026-09-13 ๐Ÿ“… Created 2016-08-18
13
uber/mockolo

Efficient Mock Generator for Swift

uber
โญ 888 Swift ๐Ÿ‘ค uber Organization ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2018-12-14
14
easymock/easymock

EasyMock, makes mocking easier since 2001

easymock
โญ 830 HTML ๐Ÿ‘ค easymock Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2013-06-10
15
Codeception/AspectMock

The most powerful and flexible mocking framework for PHPUnit / Codeception.

Codeception
โญ 785 PHP ๐Ÿ‘ค Codeception Organization ๐Ÿ• Updated 2025-08-15 ๐Ÿ“… Created 2013-07-20
16
MockBukkit/MockBukkit

MockBukkit is a mocking framework for Bukkit/PaperMC to allow the easy unit testing of Bukkit plugins.

MockBukkit
โญ 758 Java ๐Ÿ‘ค MockBukkit Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2017-12-05
17
timkindberg/jest-when

Jest support for mock argument-matched return values.

timkindberg
โญ 733 TypeScript ๐Ÿ‘ค timkindberg User ๐Ÿ• Updated 2026-04-26 ๐Ÿ“… Created 2018-01-17
18
dart-lang/mockito

Mockito-inspired mock library for Dart

dart-lang
โญ 664 Dart ๐Ÿ‘ค dart-lang Organization ๐Ÿ• Updated 2026-03-24 ๐Ÿ“… Created 2014-07-14

Frequently Asked Questions

1

What is the most popular #mocking-framework repository on GitHub?

The top ranked open source #mocking-framework project on GitHub is mswjs/msw with 18,356 stars. The industry standard for API mocking in JavaScript.

2

Which programming languages are most used in #mocking-framework repositories?

Among the top ranked #mocking-framework projects on GitHub, the most common programming languages are TypeScript, Java, Kotlin, C++.

3

How is the #mocking-framework repository ranking calculated?

We track 18 active open source repositories tagged with #mocking-framework (500+ stars), totaling 60,262 stars with an average of 3,347 stars per repository. Rankings update daily from the GitHub API.