![]() |
|
Sinon.js is framework agnostic.
Tested and working on most major desktop/mobile browsers and Node.js 0.2+.
Here are some key features of "Sinon.js":
· No global namespace pollution
· Easy to use
· Works with any JS testing framework
· Fakers
· Documentation
Requirements:
· JavaScript enabled on client side
What's New in This Release: [ read full changelog ]
· Preserved function length for spy.
· Added 'invokeCallback' alias for 'yield' on calls.
· Added matcher support for calledOn.
· Retain original expectation messages, for failed mocks under sinon.test.
· Allow yields* and callsArg* to create sequences of calls.
· sinon.js can catch itself in endless loop while filling stub prototype with asynch methods.

0 comments:
Post a Comment