jsfactory是一种手段和方法来声明一个对象然后覆盖它与定义的值,你可以使用测试。它允许你实例化
2016-08-23
0 0 0
暂无评分
其他
如何获取积分?
jsFactory is a means and method to declare an object with set values from a test fixture. You can also create the object with exact data that overrides the test fixture data. Unlike mock and stubs that merely return an expected response, jsFactory places objects in a known data state for the system under test.
Examples are included in the repository.
It's a very simple library to include in test runners or even in production for building objects quickly. Simply include the jsfactory.js library and include any of the fixture files to fill in the object data.
javascript
unittesting
testdriven
behaviordriven
相关源码推荐
JavaScript制作十二小时时钟
0
0
暂无评分
751.js
0
0
暂无评分
一种新概念javascript框架
0
0
暂无评分
上托管论坛的脚本博尔达·鲁
0
0
暂无评分
我的个人网站,更新日志
0
0
暂无评分
暂无评论