Testing external API integration with VCR gem

Suppose your application connects to an external service via API and you have a wrapper for this API that handles and parses response. The VCR gem gives you ability to store parsed response in a special format (cassetes). VCR makes a real request to the API for the first test run and writes it's response to the cassete for next test runnings.
Testing external API integration with VCR gem #ruby #rubydeveloper #rubyonrails #api #gem #integration #testing https://rubyonrails.ba/single/testing-external-api-integration-with-vcr-gem

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles