SinonJS logo
Standalone test spies, stubs and mocks for JavaScript

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 7.2K GitHub stars and 711 GitHub forks. Here’s a link to SinonJS's open source repository on GitHub

Who uses SinonJS?

Companies
12 companies use SinonJS in their tech stacks, including OSInet, Toucan Toco, and SoulCycle.

Developers
6 developers use SinonJS.

SinonJS Integrations

Why developers like SinonJS?

Here’s a list of reasons why companies and developers use SinonJS
Top Reasons
Be the first to leave a pro

SinonJS Alternatives & Comparisons

What are some alternatives to SinonJS?
Mocha
Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
Jest
Jest provides you with multiple layers on top of Jasmine.
Jasmine
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Enzyme
Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
Cypress
Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
See all alternatives
Related Comparisons
No related comparisons found

SinonJS's Stats