SinonJS logo


Standalone test spies, stubs and mocks for JavaScript
+ 1

What is SinonJS?

It is a really helpful library when you want to unit test your code. It supports spies, stubs, and mocks. The library has cross browser support and also can run on the server using Node.js.
SinonJS is a tool in the Javascript Testing Framework category of a tech stack.
SinonJS is an open source tool with 9.6K GitHub stars and 768 GitHub forks. Here’s a link to SinonJS's open source repository on GitHub

Who uses SinonJS?

66 companies reportedly use SinonJS in their tech stacks, including Software Engineering, platform, and payever.

268 developers on StackShare have stated that they use SinonJS.

SinonJS Integrations

Pros of SinonJS
Open source

SinonJS Alternatives & Comparisons

What are some alternatives to SinonJS?
QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!
Jest provides you with multiple layers on top of Jasmine.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

SinonJS's Followers
38 developers follow SinonJS to keep up with related blogs and decisions.