Faking External Services in Tests with Adapters

When faking external services in tests, I like to start with a simple solution and only progress to a more complex one if I need it. That’s why I usually start with a simple class that acts as the public interface to adapters and make an in-memory adapter for tests. Let’s see a concrete example.
Faking External Services in Tests with Adapters #ruby #rubydeveloper #rubyonrails #services #tests https://rubyonrails.ba/single/faking-external-services-in-tests-with-adapters

Nezir Zahirovic

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

related articles