Git Stars Git Stars

#stub Repositories

Discover 9 active open source GitHub repositories tagged with #stub, accumulating 37,505 total stars (averaging 4,167 stars per project). Leading this topic is mockery/mockery with 10,723 stars.

9
Total Repositories
37,505
Total Stars
4,167
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
sinonjs/sinon

Test spies, stubs and mocks for JavaScript.

sinonjs
โญ 9,751 JavaScript ๐Ÿ‘ค sinonjs Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2010-06-29
3
python/typeshed

Collection of library stubs for Python, with static types

python
โญ 5,156 Python ๐Ÿ‘ค python Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2015-03-05
4
AliSoftware/OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!

AliSoftware
โญ 5,075 Objective-C ๐Ÿ‘ค AliSoftware User ๐Ÿ• Updated 2024-05-09 ๐Ÿ“… Created 2012-07-10
5
nutti/fake-bpy-module

Fake Blender Python API module collection for the code completion.

nutti
โญ 1,828 Python ๐Ÿ‘ค nutti User ๐Ÿ• Updated 2026-08-09 ๐Ÿ“… Created 2017-10-01
6
Brightify/Cuckoo

Boilerplate-free mocking framework for Swift!

Brightify
โญ 1,743 Swift ๐Ÿ‘ค Brightify Organization ๐Ÿ• Updated 2026-09-05 ๐Ÿ“… Created 2016-01-12
7
EgeBalci/amber

Reflective PE packer.

EgeBalci
โญ 1,371 Go ๐Ÿ‘ค EgeBalci User ๐Ÿ• Updated 2024-02-22 ๐Ÿ“… Created 2017-05-30
8
freerange/mocha

A mocking and stubbing library for Ruby

freerange
โญ 1,280 Ruby ๐Ÿ‘ค freerange Organization ๐Ÿ• Updated 2026-09-22 ๐Ÿ“… Created 2008-10-04
9
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 #stub repository on GitHub?

The top ranked open source #stub 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 #stub repositories?

Among the top ranked #stub projects on GitHub, the most common programming languages are Python, PHP, JavaScript, Objective-C.

3

How is the #stub repository ranking calculated?

We track 9 active open source repositories tagged with #stub (500+ stars), totaling 37,505 stars with an average of 4,167 stars per repository. Rankings update daily from the GitHub API.