Make external API dependency great again (API contract testing)

At RubyConfBY, in Minsk, Belarus

Nowadays, unit tests are an essential part of our development process. However, while we can be proud of 100% test coverage, it does not mean that our code behaves as expected, notably when we deal with external APIs.

I’m working on the eBaymag project, which is mostly built around various API interactions: eBay API, Google Translate API, DHL API, and so on. I solve different sophisticated problems based on unexpected API behavior on a daily basis.

So I want to introduce a contract-based testing framework that aims to get rid of unexpected behavior of your app. I’ll share the tools and approaches to minimize the risks of dependence on external system APIs.

Video

In the same orbit

Explore more events

Schedule call

Irina Nazarova CEO at Evil Martians

Evil Martians transform growth-stage startups into unicorns, build developer tools, and create open source products. Hire us to design and build your product