SDLC Automation

A checkout service passes interface-contract and service-interaction tests, but release approval requires evidence that tiered discounts and tax rounding satisfy product-owner examples. The service has no user interface, and internal interfaces may change; which test suite BEST meets the approval requirement?

Show the answer

Correct answerD. Acceptance tests that verify business outcomes through the API

AWhy not this: Schema compatibility does not establish that calculated totals satisfy the product owner's examples.

BWhy not this: Individual helper checks do not establish that the service fulfills the complete business examples.

CWhy not this: Correct component interactions do not by themselves demonstrate the required business outcomes.

DWhy this is right: API-level acceptance tests validate stakeholder-defined outcomes without depending on internal interfaces or a UI.

Acceptance tests verify observable behavior against stakeholder-defined business criteria and can run through an API. Contract tests verify interface agreements, not whether discount and tax results meet the business requirements.