Using Sinatra to Mock Shopify API Calls in Rails Test Suites
13-May-2021 1483
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 #Using #Sinatra #Shopify #Calls #Rails #Suites #api #shopify #sinatra #test https://rubyonrails.ba/link/using-sinatra-to-mock-shopify-api-calls-in-rails-test-suites