Loading…
Overstock TechKno 2021 has ended
Welcome, TechKno 2021 Attendees!
  • If you didn’t get a chance to place your swag order the store is now OPEN! Please use the link here to get to the online swag store. Quantities are very limited so be sure to get your swag before it runs out!  


Back To Schedule
Thursday, September 23 • 10:00am - 10:50am
Contract Testing-Spring Cloud Contracts & Pact

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!


Contract testing is a methodology for ensuring that two separate systems (such as two microservices) are compatible with one other. It captures the interactions that are exchanged between each service, storing them in a contract, which can then be used to verify that both parties adhere to it. Contract tests fit in the "Service Tests" layer, as they execute quickly and don't need to integrate to external systems to run. Their job is to give you confidence that the systems you integrate with are compatible with your code before you release. Usually we implement contract testing using Spring Cloud Contracts or Pact.

- Spring Cloud Contract is the umbrella term for Spring's tooling around the delivery of Consumer Driven Contracts. To put it simply, consumer driven contracts allow consumers of rest APIs to grant themselves confidence when deploying new versions of their consumer code to interact with the downstream rest interface.
- Pact is a consumer-driven testing tool. The contract is generated during the execution of the automated consumer tests. A major advantage of this pattern is that only parts of the communication that are actually used by the consumer(s) get tested. This in turn means that any provider behaviour not used by current consumers is free to change without breaking tests.

Speakers
VK

Vamsi Krishna

Senior Automation Engineer, Overstock


Thursday September 23, 2021 10:00am - 10:50am MDT
TBA