jmspy

0.0.8 • Public • Published

jmspy Build Status

jmspy将Jasmine 2.0中的spies封装成独立的模块,用于单元测试中对象方法的mock服务,以及跟踪记录被监测方法的调用及参数情况

示例:

$ npm install
$ make test TESTS=examples/spyOn.coffee

spyOn

createSpy

createSpyObj

Readme

Keywords

Package Sidebar

Install

npm i jmspy

Weekly Downloads

1

Version

0.0.8

License

none

Last publish

Collaborators

  • christinerr