Advanced Software Engineering / SDLC / Agile
Q99 / 100

What is the purpose of "contract testing" (e.g., consumer-driven contract testing) in a microservices architecture?

Correct! Well done.

Incorrect.

The correct answer is A) A testing approach where consumers of a service define expectations ("contracts") about its API behavior, which providers can verify independently, catching breaking changes between services without full end-to-end tests across the system for every change

A

Correct Answer

A testing approach where consumers of a service define expectations ("contracts") about its API behavior, which providers can verify independently, catching breaking changes between services without full end-to-end tests across the system for every change

Explanation

Contract testing allows teams to verify API compatibility between services in isolation, providing faster feedback than full end-to-end tests and reducing the tight coordination needed between teams deploying interdependent services.

Progress
99/100