We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
Node nock 是flatiron 库/框架的一部分,具有此功能,请查看这里
Node nock, which is part of the flatiron library/framework has this feature, look here
我使用 node-replay:
I use node-replay:
更新(2012-02-08):VCR.js 最近发布。
据我所知没有。不过,听起来 @derwildemomo 正在开发一个。
如果您找到了,请告诉我,我很乐意添加 VCR 自述文件中的链接。
Update (2012-02-08): VCR.js was recently released.
Not that I know of. It sounds like @derwildemomo is working on one, though.
If you find one, let me know and I'll be happy to add a link to it from VCR's readme.
更新(2017-03-29):
VCR.js
https://github.com/elcuervo/vcr.js
诺克
https://github.com/node-nock/nock#recording
棕褐色
https://github.com/linkedin/sepia
Yakbak
https://github.com/flickr/yakbak
Update(2017-03-29):
VCR.js
https://github.com/elcuervo/vcr.js
Nock
https://github.com/node-nock/nock#recording
Sepia
https://github.com/linkedin/sepia
Yakbak
https://github.com/flickr/yakbak
Guzzle 是一个类似的工具,但它与 PHP 库捆绑在一起: https://github.com/guzzle/guzzle/blob/master/tests/Guzzle/Tests/Http/server.js
Guzzle a similar tool, but it's bundled with the PHP library: https://github.com/guzzle/guzzle/blob/master/tests/Guzzle/Tests/Http/server.js