SaaSHub helps you find the best software and product alternatives Learn more β
Vcr Alternatives
Similar projects and alternatives to vcr
-
-
InfluxDB
InfluxDB β Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
-
pythagora
Generate automated tests for your Node.js app via LLMs without developers having to write a single line of code.
-
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
-
jsii
jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
-
-
Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
-
-
-
-
-
-
timecop
A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
vcr discussion
vcr reviews and mentions
-
Build a Currency Exchange Service in Ruby on Rails
RSpec.describe CurrencyExchange do describe '.list' do it 'returns structured currency data' do VCR.use_cassette('currency_layer_list') do # https://github.com/vcr/vcr currencies = described_class.list expect(currencies).to all(be_a(described_class::GlobalCurrency)) end end it 'handles API failures gracefully' do allow(described_class).to receive(:get).and_return( double(success?: false) ) expect(described_class.list).to eq([]) end end end
-
MailCatcher runs a super simple SMTP server
Not the same thing, bit VCR and variants can help with testing external api calls (see "ports to other languages"):
https://github.com/vcr/vcr
-
Effective Strategies for Writing Unit Tests with External Dependencies like Databases and APIs
For network-dependent code, libraries like nock (JavaScript) or VCR (Ruby) allow you to record and replay network interactions. This ensures that tests are repeatable and do not require real network calls, while still testing how your code behaves when interacting with external services.
-
Adding Jest To Explainer.js
I'm a huge supporter for TDD(Test Driven Development). Almost every piece code should be tested. During my co-op more than half of the time I spent writing test for my PR. I believe that experience really helped me understand the necessity of testing. I was surprised to see how similar the testing framework in JS and Ruby are. I used Jest which is very similar to RSpec I have used during my co-op. To mock http resquest I used Nock kinda similar to something called VCR.
- Ruby VCR: Record test HTTP interactions and replay them
-
Creating integration tests for a backend legacy codebase
Basically, it's a record/replay tool, similar to VCR for Ruby, but on steroids and powered by AI (khm GPT khm).
-
I isolated the entire codebase from external data sources and made a generator of automated tests
I don't think it's right to say "pythagora generates integration tests". It's more of a "replay manual tests as fixtured unit tests," which makes it similar to (but more powerful than) VCR for Ruby HTTP. What I've always wanted for these kinds of "request recorders" is a way to re-validate the test fixtures over time.
-
Write SDK βbaseβ in Rust, wrap in other languages?
For example, they might expect to be able to mock calls to your API with something like VCR or Responses.
-
How to unit test your database interactions with Docker
I also started from the same starting point but then discovered and started using VCR for creating http stubs - https://github.com/vcr/vcr. It allowed me to write against more realistic and complex test scenarios but didn't support databases.
-
When to mock and what to mock in a Web API?
If you had bit more complex workflows or less time - you could start using a VCR library to mock out API interactions and then continue with your dockerised DBs.
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 Jul 2025
Stats
vcr/vcr is an open source project licensed under Hippocratic License 2.1 which is not an OSI approved license.
The primary programming language of vcr is Ruby.