Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

#ATAGTR2018 Presentation "Session on Microservices and Consumer driven contract tests" by Sunita Venkatacham and Pravitha Nair

14 views

Published on

The topic was relevant as the test pyramid is changing to include Consumer Driven Contract Tests especially when testing microservices

please refer our linkedin post for session details
https://www.linkedin.com/pulse/session-microservices-consumer-driven-contract-tests-alliance/

Published in: Technology
  • Be the first to comment

  • Be the first to like this

#ATAGTR2018 Presentation "Session on Microservices and Consumer driven contract tests" by Sunita Venkatacham and Pravitha Nair

  1. 1. CONSUMER-DRIVEN Contract Testing PRAVITHA NAIR/SUNITA VENKATACHALAM TARGET, BANGALORE
  2. 2. PROBLEM STATEMENTS 1. How can something be added to a service without breaking the clients? 2. How can something be removed from a service without breaking the clients? 3. How can a service developer find out how clients are using their service? 4. How to enable short release cycles and continuous delivery of services?
  3. 3. Provider
  4. 4. Consumer
  5. 5. BasicFlowof a Consumer DrivenContract CONSUMER generates a Consumer Driven Contract PROVIDER works with CONSUMER who re- generates contract and code PROVIDER changes code that results in change in contract ; contract breaks CONSUMER shares the generated contract with the PROVIDER PROVIDER includes the Contract Verification as part of their unit test
  6. 6. PACT.io Pact.io is a testing framework that evaluates CONSUMER Contracts are satisfied all through development cycle of a PROVIDER
  7. 7. PACT- DEMO
  8. 8. WhyPACT?  Confidence  Continuously evolve your codebase knowing that Pact will guarantee Contracts are met.  Faster  No need to wait for integration testing in end-to-end environments. No need for manual testing.  Less Error Prone  Generation and verification of Contracts are automatically managed by Pact.
  9. 9. Questions?

×