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

Testing Microservices Pipeline

Testing Microservices Pipeline

Practical experiences creating a pipeline for deploying microservices

Alberto C. Ríos

October 16, 2018
Tweet

More Decks by Alberto C. Ríos

Other Decks in Programming

Transcript

  1. What is a contract check? We use the same environment

    for contract checks and for end to end tests
  2. Testing a service with an external dependency Put all the

    scripts inside the project instead of the pipeline
  3. When do we use Test Doubles? Because we were using

    the cf-resource we were creating different manifests to point to the services on the different environments with different application names
  4. Testing a service with an external dependency • What about

    testing rollbacks? Manual • What about static analysis? Not there, but I would add them as a separate step that does not affect the deployment (same for mutation testing) • What about external dependencies that are not owed by the team? We created a scheduler that checks them periodically. Helped us gaining sanity, specially with services that are flaky.