RubyFlow The Ruby and Rails community linklog

Minitest and VCR: Automatic cassette management

I like how VCR jives with Rspec for recording and replaying HTTP requests in your test suite. Specifically how you can pass a :vcr symbol to a describe or it block and it will handle the cassette naming and file structure automatically. However, in most cases I use Minitest.

Cut a gem that gives Minitest with VCR that functionality here: minitest-vcr

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in