Git Stars Git Stars

#test-doubles Repositories

Discover 9 active open source GitHub repositories tagged with #test-doubles, accumulating 31,141 total stars (averaging 3,460 stars per project). Leading this topic is mockery/mockery with 10,723 stars.

9
Total Repositories
31,141
Total Stars
3,460
Avg Stars/Repo
1
mockery/mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

mockery
โญ 10,723 PHP ๐Ÿ‘ค mockery Organization ๐Ÿ• Updated 2026-10-18 ๐Ÿ“… Created 2009-02-25
2
phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

phpspec
โญ 8,460 PHP ๐Ÿ‘ค phpspec Organization ๐Ÿ• Updated 2026-04-13 ๐Ÿ“… Created 2013-03-25
3
spulec/freezegun

Let your Python tests travel through time

spulec
โญ 4,522 Python ๐Ÿ‘ค spulec User ๐Ÿ• Updated 2025-08-19 ๐Ÿ“… Created 2012-12-11
4
jarcoal/httpmock

HTTP mocking for Golang

jarcoal
โญ 2,078 Go ๐Ÿ‘ค jarcoal User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2014-02-24
5
asomers/mockall

A powerful mock object library for Rust

asomers
โญ 1,853 Rust ๐Ÿ‘ค asomers User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2019-02-07
6
maxbrunsfeld/counterfeiter

A tool for generating self-contained, type-safe test doubles in go

maxbrunsfeld
โญ 1,149 Go ๐Ÿ‘ค maxbrunsfeld User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2014-05-21
7
rollbear/trompeloeil

Header only C++14 mocking framework

rollbear
โญ 883 C++ ๐Ÿ‘ค rollbear User ๐Ÿ• Updated 2026-08-11 ๐Ÿ“… Created 2014-10-12
8
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
9
jjh42/mock

Mocking library for Elixir language

jjh42
โญ 688 Elixir ๐Ÿ‘ค jjh42 User ๐Ÿ• Updated 2024-12-16 ๐Ÿ“… Created 2013-06-09

Frequently Asked Questions

1

What is the most popular #test-doubles repository on GitHub?

The top ranked open source #test-doubles project on GitHub is mockery/mockery with 10,723 stars. Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

2

Which programming languages are most used in #test-doubles repositories?

Among the top ranked #test-doubles projects on GitHub, the most common programming languages are PHP, Go, Python, Rust.

3

How is the #test-doubles repository ranking calculated?

We track 9 active open source repositories tagged with #test-doubles (500+ stars), totaling 31,141 stars with an average of 3,460 stars per repository. Rankings update daily from the GitHub API.