jm-spy

0.0.11 • Public • Published

jm-spy

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

示例:

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

spyOn

createSpy

createSpyObj

Readme

Keywords

none

Package Sidebar

Install

npm i jm-spy

Weekly Downloads

0

Version

0.0.11

License

none

Last publish

Collaborators

  • perterpon