Registry / testing / vcr
library6.4.0rbrubygemsunverified

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

gem install vcr
INSTALL
IMPORT
SIG · VCR
V
vcr
testingrubyv6.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VCR
require 'vcr'

Record and replay HTTP interactions

require 'vcr' require 'rest-client' VCR.configure do |c| c.cassette_library_dir = 'fixtures/vcr_cassettes' c.hook_into :webmock end VCR.use_cassette('github') do response = RestClient.get('https://api.github.com') puts response.body end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
vcr — gem install vcr · libregistry