Sinon.JS

Standalone test spies, stubs and mocks for JavaScript.
No dependencies, works with any unit testing framework.

2016/07/27 - Changelog - More builds/versions

Stand-alone fake XHR/server

Stand-alone fake timers

Old versions

Sinon uses Semantic versioning.

Copyright 2010 - 2016, Christian Johansen. Released under the BSD license.