Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to test microservices and stay sane

How to test microservices and stay sane

Microservices shine in many aspects, but testability. Whenever you deploy a service, no matter how small it is, as long as it has dependencies, you have to keep them in mind. By definition, microservices have lots of dependencies and makes you appreciate how easy it is to test integration in a monolithic code base. There is a concept of contract testing that makes testing microservices a breeze. In the presentation, it's shown on an example of Pact, an open source library with adapters for many popular languages.

Tatiana Shepeleva

June 02, 2019
Tweet

More Decks by Tatiana Shepeleva

Other Decks in Technology

Transcript

  1. Pact • Support different languages (Ruby, JS, Go, PHP, Python,

    JVM) • Framework-agnostic • Language-agnostic contract (JSON)
  2. Pact Broker • Docker image is ready • Webhooks to

    trigger checks or notifications • can-i-deploy tool