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

Vcr Alternatives

Similar projects and alternatives to vcr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better vcr alternative or higher similarity.

Suggest an alternative to vcr

Reviews and mentions

Posts with mentions or reviews of vcr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-07.
  • Record http interactions in tests?
    In Ruby, there is a gem such as that records the http requests when running tests and caches them in the filesystem to have deterministic tests. Is there something like this for NodeJS? if so, is there any alternative for websockets?
  • Can someone explain to me how to implement Test-Driven Development in my use case?
    Integration tests testing the whole stack using some kind of request replayer like VCR (
  • puffing-billy VS vcr - a user suggested alternative
    It'd say "standard" VCR tool is more efficient and simpler to use/setup/maintain compared to puffing-billy. Yet, there are some use-cases that just can't be covered by VCR.
  • What is the right way to test APIs? Are Unit and Integration tests enough? My security team says they need more.
    Have you looked into VCR?
  • DeepfakeHTTP – Your 100% static dynamic back end | 2021-08-21
    This could be great for mocks.

    At one point I was trying to automate against an internal tool that had a (useless, for my purposes) dependency on AWS. Rather than give my pipeline access to AWS, I strapped VCR ( onto it, ran it on my laptop with my own AWS permissions, and then just ran the automation with VCR in front of it from there on out.

  • Using VCR to Mock Your Requests | 2021-06-18
    Part of this task, as software developer, is making sure the code I write is well tested, and does what is supposed to do. But, when integrating our code connection, we don't want to hit APIs with real requests every time we run our tests. This not only generates unnecessary requests, but as well, make them run slower. In order to pretend that we are making the real request, there is a tool that helps "faking" this call, while using accurate data from a true request, and recording it as a "cassete tape". The name of the tool I refer to is VCR.
  • Using Sinatra to Mock Shopify API Calls in Rails Test Suites | 2021-05-07
  • Testing external APIs with Rspec and WebMock | 2021-04-16
    There's not much more to it than this. VCR is another tool that also stubs API calls but works a little differently by actually making a first real call that will be saved in a file for future use. For simple API calls, WebMock does the trick for me!


Basic vcr repo stats
7 days ago

vcr/vcr is an open source project licensed under Hippocratic License 2.1 which is not an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote jobs at our new job board There are 36 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.