Mocking services
Sam and Ryan chat about the pros and cons of using third-party services, focusing on how their use affects the strategy used to test your application.
Sam and Ryan chat about the pros and cons of using third-party services, focusing on how their use affects the strategy used to test your application.
Topics include:
0:00 - Intro
0:43 – If services don’t provide testing utils, you have to write library code just to test your app. What was the mocking story like for popular Rails services?
11:59 – Adding seams to service integrations so they can be used locally, offline and in testing
28:18 – How are people testing their service code today?
48:02 – Mocking vs. end-to-end testing