function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sreenivasAppssreenivasApps 

how much code coverage needed for a trigger ?

Best Answer chosen by Admin (Salesforce Developers) 
AdrianCCAdrianCC

Even if you have enough code coverage across the whole code, for triggers you need a minimum of 1%. Recommended is to have 75%

 

Happy Friday!

Adrian

All Answers

AdrianCCAdrianCC

Even if you have enough code coverage across the whole code, for triggers you need a minimum of 1%. Recommended is to have 75%

 

Happy Friday!

Adrian

This was selected as the best answer
venkateshyadav1243venkateshyadav1243

Hi

You need to cover atleast 75% test class for your trigger

for more information see this link

 

 

http://wiki.developerforce.com/page/An_Introduction_to_Apex_Code_Test_Methods

 

 

 

 

regards

venkatesh

sreenivasAppssreenivasApps

thanks Adrian 

 

 

U too Happy friday ..