All Projects → sinonjs → Sinon

sinonjs / Sinon

Licence: other
Test spies, stubs and mocks for JavaScript.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Sinon

Awesome Unit Testing Swift
A curated collection of awesome blog articles, books, talks, podcasts, tools/frameworks and examples.
Stars: ✭ 272 (-96.92%)
Mutual labels:  unit-testing, tdd, test-driven-development
Bash unit
bash unit testing enterprise edition framework for professionals
Stars: ✭ 419 (-95.25%)
Mutual labels:  unit-testing, tdd, test-driven-development
utest
Lightweight unit testing framework for C/C++ projects. Suitable for embedded devices.
Stars: ✭ 18 (-99.8%)
Mutual labels:  unit-testing, tdd, test-driven-development
Quixote
CSS unit and integration testing
Stars: ✭ 788 (-91.07%)
Mutual labels:  unit-testing, tdd, test-driven-development
Jgiven
Behavior-Driven Development in plain Java
Stars: ✭ 319 (-96.39%)
Mutual labels:  tdd, test-driven-development
Doctest
The fastest feature-rich C++11/14/17/20 single-header testing framework
Stars: ✭ 3,568 (-59.58%)
Mutual labels:  unit-testing, tdd
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+120.41%)
Mutual labels:  unit-testing, tdd
Ut
UT: C++20 μ(micro)/Unit Testing Framework
Stars: ✭ 507 (-94.26%)
Mutual labels:  unit-testing, tdd
Jasmine Matchers
Write Beautiful Specs with Custom Matchers for Jest and Jasmine
Stars: ✭ 552 (-93.75%)
Mutual labels:  unit-testing, tdd
Entitas Csharp
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Stars: ✭ 5,393 (-38.91%)
Mutual labels:  tdd, test-driven-development
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: ✭ 900 (-89.81%)
Mutual labels:  tdd, test-driven-development
List Of Testing Tools And Frameworks For .net
✅ List of Automated Testing (TDD/BDD/ATDD/SBE) Tools and Frameworks for .NET
Stars: ✭ 303 (-96.57%)
Mutual labels:  tdd, test-driven-development
Cpputest
CppUTest unit testing and mocking framework for C/C++
Stars: ✭ 896 (-89.85%)
Mutual labels:  unit-testing, test-driven-development
Clj Fakes
An isolation framework for Clojure/ClojureScript.
Stars: ✭ 26 (-99.71%)
Mutual labels:  tdd, stub
Unit Testing Tips
Unit testing tips by examples in PHP
Stars: ✭ 318 (-96.4%)
Mutual labels:  unit-testing, tdd
respect
RSpec inspired test framework for Reason/OCaml/Bucklescript.
Stars: ✭ 28 (-99.68%)
Mutual labels:  unit-testing, tdd
automock
A library for testing classes with auto mocking capabilities using jest-mock-extended
Stars: ✭ 26 (-99.71%)
Mutual labels:  unit-testing, tdd
bdd-for-c
A simple BDD library for the C language
Stars: ✭ 90 (-98.98%)
Mutual labels:  tdd, test-driven-development
zx-spec
A unit testing framework for Sinclair ZX Spectrum assembly
Stars: ✭ 32 (-99.64%)
Mutual labels:  unit-testing, tdd
Enzyme Matchers
Jasmine/Jest assertions for enzyme
Stars: ✭ 881 (-90.02%)
Mutual labels:  unit-testing, tdd

Sinon.JS
Sinon.JS

Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).

npm version Join the chat at https://gitter.im/sinonjs/sinon Build status Sauce Test Status Codecov status OpenCollective OpenCollective npm downloads per month CDNJS version Contributor Covenant

Compatibility

For details on compatibility and browser support, please see COMPATIBILITY.md

Installation

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.

Usage

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.

Goals

  • No global pollution
  • Easy to use
  • Require minimal “integration”
  • Easy to embed seamlessly with any testing framework
  • Easily fake any interface
  • Ship with ready-to-use fakes for XMLHttpRequest, timers and more

Contribute?

See CONTRIBUTING.md for details on how you can contribute to Sinon.JS

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

Licence

Sinon.js was released under BSD-3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].