Session

Confidently Releasing Microservices With Consumer-Driven Contract Testing

Many teams working with microservices need confidence they don't break functionality when making changes. System integration tests, functional tests, and sometimes manual tests are older ways to obtain that confidence. These processes may take more than 1 day or even more if different teams or a different company own the services.

To ensure the same level of confidence and speed up delivery, we can create Contracts for integrations between consumers and providers. Contracts created by consumer services need to pass with every build going in production to guarantee the integrations between systems/services work fine. Checking these contracts in a CI/CD pipeline makes feedback loops even faster.

A Contract is a collection of agreements between a Consumer and a Provider that describes the interactions that can take place between them. Consumer-Driven Contracts (CDCs) is a pattern that drives the development of the Providers from its Consumer's point of view. It is TDD for microservices.

This talk covers an end to end demo of contract testing between two microservices to show how to release microservices with confidence, get early feedback, speed up delivery, and comparison with other testing strategies.

Happy CDC!

Outline/structure of the Session
1. Introduction to microservices common deployment patterns
2. The pitfall of a couple of deployment strategies
3. Introduction to Consumer-Driven Contract Tests
4. How CDC helps in speeding up the Continuous Delivery
5. Demo of CDC for two microservices integration.
6. Putting CDC in CI/CD workflow.
7. Experience using different CI/CD strategies
8. How the contract testing makes feedback look faster in agile teams
9. Q&A

Learning Outcomes
1. New testing strategy to fasten continues delivery
2. Understanding multiple testing approaches
3. Deploying services autonomously with confidence
4. Understanding contract testing with example
5. Automating service dependencies
6. Putting CDC in CI/CD workflow

Gopinath Langote

Software Engineer, N26

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top