Search code examples
jvmmicroservicesdatacontractpact

Is Contract testing necessary when both consumer and provider are developed by the same company in different scrum teams?


Is Contract testing necessary when both consumer and provider are developed by the same company in different scrum teams ?


Solution

  • Yes, definitely. Contract testing is particularly useful when you rely on an 'external' service, where by external I mean any service that is not under your direct control, including the case you mentioned. Here is an interesting article from Martin Fowler.