Reliving Your Happiest HTTP Interactions with Ruby’ s VCR Gem
摘要
VCR is a Ruby library that records HTTP interactions and plays them back to your test suite, verifying input and returning predictable output.
In Ruby apps it's most frequently used as a testing tool, but having it in your toolbox provides you with a rich set of organizational and debugging tools, even if you choose not to use its popular “automocking” feature.
欢迎在评论区写下你对这篇文章的看法。