Sinon.js 1.12.2

A JavaScript library for creating test spies, stubs and mocks, a complex testing framework for professional JavaScript developers
Sinon.js is framework-agnostic JS toolkit, meaning it can work on its own, or along side a more complex JavaScript framework like Prototype, MooTools or JavaScriptMVC.

As for use scenarios, Sinon.js is a JavaScript tool that can fake the presence of various environment conditions.

This allows developers to test their code in those environments and get usable results for debugging their code.

Sinon.js can fake AJAX requests, the process of time passing, various server settings and comes with its own sandbox mode.

Tested and working on most major desktop/mobile browsers.

It also works on Node.js as well.

Main features:

  • Easy to use
  • No global namespace pollution
  • Works with any JS testing framework
  • Support for fakers
  • Documentation

last updated on:
December 13th, 2014, 11:09 GMT
price:
FREE!
homepage:
sinonjs.org
license type:

BSD License

developed by:
Christian Johansen
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
category:
C: \ Development Tools \ Test Tools and Applications
Sinon.js
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in version 1.9.1
  • Fixed an issue passing `NaN` to `calledWith`
  • Explicate dependency on util package
read full changelog

Add your review!

SUBMIT