Git Stars Git Stars

#mocks Repositories

Discover 10 active open source GitHub repositories tagged with #mocks, accumulating 31,638 total stars (averaging 3,163 stars per project). Leading this topic is mockito/mockito with 15,451 stars.

10
Total Repositories
31,638
Total Stars
3,163
Avg Stars/Repo
1
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
2
vektra/mockery

A mock code autogenerator for Go

vektra
โญ 7,183 Go ๐Ÿ‘ค vektra Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2014-09-02
3
nsubstitute/NSubstitute

A friendly substitute for .NET mocking libraries.

nsubstitute
โญ 2,979 C# ๐Ÿ‘ค nsubstitute Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2009-10-23
4
TestableIO/System.IO.Abstractions

Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!

TestableIO
โญ 1,624 C# ๐Ÿ‘ค TestableIO Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2012-04-04
5
uber/mockolo

Efficient Mock Generator for Swift

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

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.

steinfletcher
โญ 849 Go ๐Ÿ‘ค steinfletcher User ๐Ÿ• Updated 2026-10-27 ๐Ÿ“… Created 2018-12-26
7
lipanski/mockito

HTTP mocking for Rust!

lipanski
โญ 788 Rust ๐Ÿ‘ค lipanski User ๐Ÿ• Updated 2026-08-01 ๐Ÿ“… Created 2016-01-10
8
felangel/mocktail

A mock library for Dart inspired by mockito

felangel
โญ 702 Dart ๐Ÿ‘ค felangel User ๐Ÿ• Updated 2026-10-22 ๐Ÿ“… Created 2020-12-28
9
msz/hammox

๐Ÿ automated contract testing via type checking for Elixir functions and mocks

msz
โญ 597 Elixir ๐Ÿ‘ค msz User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2019-06-29
10
edgurgel/mimic

A mocking library for Elixir ๐ŸชŽ

edgurgel
โญ 579 Elixir ๐Ÿ‘ค edgurgel User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2016-11-13

Frequently Asked Questions

1

What is the most popular #mocks repository on GitHub?

The top ranked open source #mocks project on GitHub is mockito/mockito with 15,451 stars. Most popular Mocking framework for unit tests written in Java

2

Which programming languages are most used in #mocks repositories?

Among the top ranked #mocks projects on GitHub, the most common programming languages are Go, C#, Elixir, Java.

3

How is the #mocks repository ranking calculated?

We track 10 active open source repositories tagged with #mocks (500+ stars), totaling 31,638 stars with an average of 3,163 stars per repository. Rankings update daily from the GitHub API.