nerdexam
Salesforce

CRT-450 · Question #79

CRT-450 Question #79: Real Exam Question with Answer & Explanation

The correct answer is A. Create a test class and methods to cover the Apex trigger. See the full explanation below for the reasoning.

Question

A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?

Options

  • ACreate a test class and methods to cover the Apex trigger
  • BRun the tests using the 'Run All Tests' method.
  • CRemove the falling test methods from the test class.
  • DIncrease the test class coverage on the helper class

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice