JSMock News
Brought to you by:
dewindj
JSMock 1.2 adds support for mixing in jsmock into a testcase and automatically performing verification on tear down.
Changed expect method to expects method, expect method can still be used however (it is an alias to expects)
Fixed bug that did not display regular expression arguments correctly
1.1.2
- Refactored out crufty evals
- Fixed bug that didn't recognize a return value of a stubbed function (andStub)
JSMock is a fully featured Mock Object library for JavaScript that provides the necessary tools to do effective interactive based testing.