QuestionQ106

Test Automation Tools

As part of improving code quality, Universal Containers (UC) asked a third-party system integrator to conduct independent code reviews. One item of feedback is that the development team appears not to be performing sufficient negative unit testing.

Which three are common symptoms of insufficient negative tests?

Choose three
  • A An Apex process runs into an un-handled exception when an HTTP callout has an unexpected status code in the response body.
  • B Developers constantly ask the testers for a screenshot of the error and the exact steps of reproducing the error.
  • C Developers often have to turn to the debug log for details of the failed Apex executions.
  • D The delivered user interfaces are regularly not meeting the expectations of the business users.
  • E When an Apex batch job runs at a scheduled time, an increased number of Apex execution errors occur over all.
Explanation

Inadequate negative testing leaves error paths unverified. Typical results include unhandled exceptions for unexpected HTTP callout responses, defects that developers can reproduce only after obtaining detailed tester evidence, and increased Apex execution errors when scheduled batch jobs encounter exceptional or boundary conditions in live processing.

Community Discussion

No comments yet. Be the first to start the discussion!