A permits API is changing fields that several downstream agency apps consume. What practice best protects consumers from breaking producer changes?
Select an answer to reveal the explanation.
Short Explanation
If the restaurant renames every item on the menu overnight, the delivery apps crash. Contract tests are the handshake that catches breaking API changes before citizens feel them.
Full Explanation
Interface contract testing verifies that producers continue to meet the expectations consumers rely on—payload shapes, required fields, and compatibility rules. Combined with versioning and change communication, contracts reduce brittle point-to-point failure. Informal or surprise schema changes shift discovery cost to production incidents across agencies.