Salesforce
CRT-450 · Question #168
A develop completed modification to a customized feature that is comprised of two elements: Apex trigger Trigger handler Apex class What are two factors that the developer must take into account to…
The correct answer is A. Apex classes must have at least 75% code coverage org-wide. B. At least one line of code must be executed for the Apex trigger. See the full explanation below for the reasoning.
Question
A develop completed modification to a customized feature that is comprised of two elements:
Apex trigger Trigger handler Apex class What are two factors that the developer must take into account to properly deploy the modification to the production environment?
Options
- AApex classes must have at least 75% code coverage org-wide.
- BAt least one line of code must be executed for the Apex trigger.
- CAll methods in the test classes must use @isTest.
- DTest methods must be declared with the testMethod keyword.
How the community answered
(36 responses)- A72% (26)
- C8% (3)
- D19% (7)
Community Discussion
No community discussion yet for this question.