nerdexam
Salesforce

CRT-450 · Question #79

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…

Sign in or unlock CRT-450 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.

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

Unlock CRT-450 to see the answer

You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CRT-450 Practice