Sinon.JS

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

2017/02/15 - Changelog - More builds/versions

Stand-alone fake XHR/server

Stand-alone fake timers

Old versions

Sinon uses Semantic versioning.

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