Comparison
Contract testvsShift left
Contract test
the consumer's expectations are recorded and replayed against the provider's build, so nobody breaks the other by surprise.
A test asserting that a provider satisfies the specific expectations of its consumers, run in the provider's pipeline. It catches integration breakage without a full end-to-end environment, which is the trade that makes it worth the setup. It only covers the interactions consumers actually declared.
Full entry →Shift left
the security review happened while the design was still a document instead of the week before launch.
Moving a check earlier in the process, where fixing what it finds is cheap. It applies to testing, security, accessibility, performance and compliance, and the economics are the same in each case: the cost of a change rises with how much has been built on top of it. It becomes a slogan rather than a practice when the earlier check is added without removing the later one or giving the team the ability to act on it.
Full entry →