Make external API dependency great again (API contract testing)

At RubyConfBY, in Minsk, Belarus

Topics

Share on

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

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com