189: It's Gonna Work, Definitely, No Problems Whatsoever
Episode 189 · March 1st, 2019 · 41 mins 38 secs
About this Episode
On this week's episode, Chris is joined by Steph Viccari to chat about Steph's recent experience working on the Hubspot API ruby wrapper as a client project. They discuss strategies for testing third-party APIs, focusing on VCR and some of the benefits and trade-offs inherent to that style of API testing. Following that they chat about using exceptions for control flow, digging into why this seems to be a common pattern in Ruby API wrappers, what the alternatives are, and even a quick tour to React-land where this pattern is being used for interesting effect.
- Hubspot ruby gem
- VCR
- Cucumber
- Mystery Guests
- Rspec mocks
- Faking APIs in Development and Staging
- Capybara Discoball
- Upcase - Testing Third Party APIs
- Fake stripe
- Principle of least surprise
- Time boxing
- JavaScript Promises
- React.Suspense
- Dan Abramov Introducing React Suspense at JSConf Iceland