
Contract Testing for Event-Driven Architecture

#184 - Contract Testing Essentials: A Comprehensive Guide - Lewis Prescott
Topic 8 of 9
Published Jul 22, 2024 · Clip 46:47–49:44 (2:58)
Lewis recommends event-driven systems as a great starting point for contract testing because events are small, simple pieces of communication. Contract testing only cares about the message itself, so it isn't tied to any tool or broker like Kafka or AWS SNS—as long as the contract message can be separated from the transport, it works. In event-driven architecture the terminology flips: the producer is the consumer (generates the contract) and the subscriber is the provider (verifies it).