RT @[email protected] #swDevTermOfTheDay #ConsumerDrivenContractTesting (#CDCT) is an approach to keep #API|s between deployment units (especially in #Microservice|s environments) synchronized. It also makes parallel development of client and server respectively frontend and backend possible.

🐦🔗: https://twitter.com/javagil/status/1097789386295513088

Michael Hönnig on Twitter

“#swDevTermOfTheDay #ConsumerDrivenContractTesting (#CDCT) is an approach to keep #API|s between deployment units (especially in #Microservice|s environments) synchronized. It also makes parallel development of client and server respectively frontend and backend possible.”

Twitter
#WireMock is pretty cool for mocking REST APIs locally and in early #BuildPipeline stages. But yesterday one disadvantage hit us hard: Our multipart request was not understood by the real service (which was deployed for the first time). #CDCT would have prevented that. ...
... luckily we noticed that in a later stage of the build pipeline, before production. And the feature was still behind a #FeatureToggle anyway.
... A mock using the same #SpringFramework #REST endpoint method signature as the real service, as we usually implement mocks, would have found the problem right away, as well.