What would the developer do to test the Account trigger? A developer - ProProfs Discuss
Topics
Products
Follow Us:

What would the developer do to test the Account trigger? A developer needs to confirm that an Account trigger is working correctly without changing the organization’s data.



A. Use the Test menu on the developer Console to run all test classes for the account trigger.
B. Use the New button on the Salesforce Accounts Tab to create a new Account record.
C. Use the Open Execute Anonymous feature on the Developer Console to run an ‘insert Account’ DML statement.
D. Use Deply from the Force.com IDE to deploy an ‘insert Account’ Apex class.

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Jan 26, 2020

+ Answer
Request

2 Answers

M. Krasinski

M. Krasinski, Content Writer, Columbus

Answered Oct 11, 2018

The developer in Salesforce should be aware that they need to test the account trigger. Sometimes, the triggers are used but there are limits to them. The triggers should be set prior to exceeding the limits that are given to the functions. The developer should use separate classes for test methods. It is also recommended to use start and stop test methods. If you use a roll-up summary or field, update it at certain times, then support DML and finally start building the trigger. A dev...Read More
 

John Smith

John Smith

Answered Apr 06, 2017

Use the Test menu on the developer Console to run all test classes for the account trigger.

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.