vcr1.6.0 package

Record 'HTTP' Calls to Disk

vcr-package

vcr: Record 'HTTP' Calls to Disk

VcrResponse

The response of an HTTPInteraction

as.cassette

Coerce names, etc. to cassettes

Cassette

Cassette handler

cassettes

List cassettes, get current cassette, etc.

check_cassette_names

Check cassette names

eject_cassette

Eject a cassette

FileSystem

File system persister

Hooks

Hooks class

http_interactions

Get the http interactions of the current cassette

HTTPInteraction

HTTPInteraction class

HTTPInteractionList

HTTPInteractionList class

insert_cassette

Insert a cassette to record HTTP requests

JSON

The JSON serializer

lightswitch

Turn vcr on and off, check on/off status, and turn off for a given htt...

Persisters

Cassette persisters

real_http_connections_allowed

Are real http connections allowed?

recording

vcr recording options

request_response

request and response summary methods

request-matching

vcr request matching

Request

The request of an HTTPInteraction

RequestHandler

RequestHandler

RequestHandlerCrul

RequestHandlerCrul

RequestHandlerHttr

RequestHandlerHttr

RequestHandlerHttr2

RequestHandlerHttr2

RequestIgnorer

Request ignorer

RequestMatcherRegistry

RequestMatcherRegistry

Serializer

Serializer class - base class for JSON/YAML serializers

Serializers

Cassette serializers

skip_if_vcr_off

Skip tests if vcr is off

str_splitter

split string every N characters

UnhandledHTTPRequestError

UnhandledHTTPRequestError

use_cassette

Use a cassette to record HTTP requests

use_vcr

Setup vcr for a package

vcr_configure

Global Configuration Options

vcr_logging

vcr log file setup

vcr_test_path

Locate file in tests directory

YAML

The YAML serializer

Record test suite 'HTTP' requests and replays them during future runs. A port of the Ruby gem of the same name (<https://github.com/vcr/vcr/>). Works by hooking into the 'webmockr' R package for matching 'HTTP' requests by various rules ('HTTP' method, 'URL', query parameters, headers, body, etc.), and then caching real 'HTTP' responses on disk in 'cassettes'. Subsequent 'HTTP' requests matching any previous requests in the same 'cassette' use a cached 'HTTP' response.

  • Maintainer: Scott Chamberlain
  • License: MIT + file LICENSE
  • Last published: 2024-07-23