Using Sinatra to Mock Shopify API Calls in Rails Test Suites

Designing a good test suite is critical to the development of a reliable application, but it involves constant decisions about how closely to replicate your end product. For example, it might seem like the best test suite is one that only tests the application by simulating user actions through the front end, however, test suites like this are one of the most common types of technical debt. They are often very brittle and take orders of magnitude longer to run than test suites mostly composed of unit tests and integration tests.
Using Sinatra to Mock Shopify API Calls in Rails Test Suites #ruby #rubydeveloper #rubyonrails #api #shopify #sinatra #test https://rubyonrails.ba/single/using-sinatra-to-mock-shopify-api-calls-in-rails-test-suites

Nezir Zahirovic

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

related articles