Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Mockery | 10,379 | 112,379 | 18,262 | 6 days ago | 36 | September 07, 2022 | 117 | other | PHP | |
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). | ||||||||||
Sinon | 9,281 | a day ago | 43 | other | JavaScript | |||||
Test spies, stubs and mocks for JavaScript. | ||||||||||
Ohhttpstubs | 4,767 | 1,238 | 2 years ago | 60 | December 02, 2020 | 43 | other | Objective-C | ||
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers! | ||||||||||
Nsubstitute | 1,897 | 2 months ago | 100 | other | C# | |||||
A friendly substitute for .NET mocking libraries. | ||||||||||
Gock | 1,795 | 120 | 407 | a month ago | 21 | August 03, 2021 | 38 | mit | Go | |
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽ | ||||||||||
Mockit | 1,565 | 4 months ago | 58 | mit | JavaScript | |||||
A tool to quickly mock out end points, setup delays and more... | ||||||||||
Cuckoo | 1,558 | 39 | 3 days ago | 48 | March 18, 2022 | 69 | mit | Swift | ||
Boilerplate-free mocking framework for Swift! | ||||||||||
Fakeiteasy | 1,388 | 7 days ago | 26 | mit | C# | |||||
The easy mocking library for .NET | ||||||||||
Mocha | 1,140 | 31,304 | 4,369 | 3 months ago | 80 | June 25, 2021 | 90 | other | Ruby | |
Mocha is a mocking and stubbing library for Ruby | ||||||||||
Ocmockito | 987 | 693 | 3 months ago | 22 | February 20, 2021 | 12 | mit | Objective-C | ||
Mockito for Objective-C: creation, verification and stubbing of mock objects |
Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).
For details on compatibility and browser support, please see COMPATIBILITY.md
via npm
$ npm install sinon
or via sinon's browser builds available for download on the homepage. There are also npm based CDNs one can use.
See the sinon project homepage for documentation on usage.
If you have questions that are not covered by the documentation, you can check out the sinon
tag on Stack Overflow or drop by #sinon.js on irc.freenode.net:6667.
You can also search through the Sinon.JS mailing list archives.
See CONTRIBUTING.md for details on how you can contribute to Sinon.JS
Thank you to all our backers! [Become a backer]
Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]
Sinon.js was released under BSD-3