Contract Testing in HL Tech With Judge Dredd, Part 2

Welcome back! If you missed Part 1, you can check it out here

Consumer Expectations

Consumer expectations are expressed in Pact format. Pact format specifies sample interactions between a consumer and its provider. All interactions between them must be described separately with sample values, which can be later validated against a Swagger file. In Picture 6, a sample Pact file is presented which was generated based on Judge Dredd Agent.