Level 1 · Apprentice0 XP
Catch breaking API changes before deploy, without a full end-to-end environment.
Step 1 / 6
ProblemThe orders service renames totalPrice to total. Its own tests pass. The shipping service, which reads totalPrice, breaks in production an hour later.
← → step
Before this: Integration tests with real dependencies
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Core (30 min): write one Pact consumer test for a single GET endpoint and read the contract JSON it generates. Stretch: verify the contract in the provider's CI, add a can-i-deploy check, then rename a field the consumer uses and watch the provider pipeline fail.