Question 120
At fictional Cedar Retail Group, the Business Central development team is supporting store procurement and finance and reviewing automated testing and diagnostics during a release qualification test (MB820-5.1-169). The observed development issue is that an HTTP integration test calls a real payment service and charges the same test card repeatedly. Which observed result would most clearly show the intended correction works?
Explanation
Correct Answer
This is the outcome that directly verifies the intended correction: repeated test runs validate behavior without real financial side effects. The related solution is to use controlled HTTP mocks or supported test isolation and fixture responses; it is based on the principle that integration tests should isolate consequential external actions.
Incorrect Answers
“The test creates and cleans up synthetic records without touching production customers” concerns the alternative task “run Business Central tests using an isolated test environment and controlled fixtures”, but the stated failure is that an HTTP integration test calls a real payment service and charges the same test card repeatedly. The required measure is to repeated test runs validate behavior without real financial side effects.
The proposed “Multiple tests apply the same business expectation consistently” tests a different control: use shared test helpers and a clear arrange-act-assert structure. The reported condition is that an HTTP integration test calls a real payment service and charges the same test card repeatedly; the more direct action is to repeated test runs validate behavior without real financial side effects.
“A changed report that omits lines or totals fails the test” concerns the separate step “assert expected dataset values or generated output with representative fixtures”. The reported issue is that an HTTP integration test calls a real payment service and charges the same test card repeatedly, so the direct response is to repeated test runs validate behavior without real financial side effects.