Using client stubs for easy and reliable integration tests | Fabio Perrella’s Blog

A while ago, I used AWS Ruby SDK to create a method to download files from S3, and I was introduced to Aws::ClientStubs, which is amazing, and it opened up my mind on how to test external APIs with a more integrated approach!Before discovering Aws::ClientStubs, I wondered how to test this new code, maybe I could use the gem VCR.For those of you who haven’t read my previous post, the most popular one is related to VCR, which would be my default way to test it.
Using client stubs for easy and reliable integration tests | Fabio Perrella’s Blog #ruby #rubydeveloper #rubyonrails #blog #integration #tests https://rubyonrails.ba/single/using-client-stubs-for-easy-and-reliable-integration-tests-fabio-perrella-s-blog

Nezir Zahirovic

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

related articles