Question 420
A Business Central developer must validate a correction for this condition: A tester runs test codeunits manually but the release pipeline reports success even if tests fail. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
The acceptance result follows from the chosen remedy. Integrate Test Toolkit or supported test runner results into a failing CI quality gate. is justified because automation is only protective when failures block release promotion. Therefore verify: A seeded failing test causes the pipeline to stop before deployment.
Incorrect Answers
The option would apply to “A developer asserts only that a codeunit call did not throw an error after posting”. Therefore verify: The test checks entry amounts and document state after a successful post. This question instead requires “A seeded failing test causes the pipeline to stop before deployment”.
The related but distinct situation is “A new report calculates correct amounts for one customer but breaks when records contain multiple currencies”. Therefore verify: The test report reconciles every currency group to its expected source entries. For the stated problem, “A seeded failing test causes the pipeline to stop before deployment” addresses the central condition.
This alternative addresses the separate case “A company upgrades its Business Central environment and assumes existing automated tests remain valid without rerunning them”. This result checks the customer-visible or technical outcome, rather than just compilation: The upgrade pipeline reports no regressions on representative old and new data. The deciding requirement here is “A seeded failing test causes the pipeline to stop before deployment”.