You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DVR concurrently looks to see if a recording exists, and if it does, it will consider itself in playback mode. We would prefer to explicitly call out whether we want DVR to record.
Modes:
record: record tests or, if they already exist, re-record them
playback: playback tests if they exist; if not, fail
This should honor the TEST_MODE environment variable we are setting.
The text was updated successfully, but these errors were encountered:
Record new interactions if there is no cassette file.
Cause an error to be raised for new requests if there is a cassette file.
once is the default record mode, used when you do not set one.
new_episodes
Record new interactions.
Replay previously recorded interactions. It is similar to the once record mode, but will always record new interactions, even if you have an existing recorded one that is similar, but not identical.
none
Replay previously recorded interactions.
Cause an error to be raised for any new requests. This is useful when your code makes potentially dangerous HTTP requests. The none record mode guarantees that no new HTTP requests will be made.
all
Record new interactions.
Never replay previously recorded interactions. This can be temporarily used to force VCR to re-record a cassette (i.e. to ensure
the responses are not out of date) or can be used when you simply want to log all HTTP requests.
DVR concurrently looks to see if a recording exists, and if it does, it will consider itself in playback mode. We would prefer to explicitly call out whether we want DVR to record.
Modes:
This should honor the TEST_MODE environment variable we are setting.
The text was updated successfully, but these errors were encountered: