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
Sunay - KVP Bus SolnsSunay - KVP Bus Solns 

Need Help on Test Classes

Hi,

 

Do we have to write test classes for all the triggers present in the instance?

 

 

Best Answer chosen by Admin (Salesforce Developers) 
NiketNiket

Hi Sunny,

 

Yes. you need to write test class for every trigger and apex class present in the instance. You need to cover the code for both trigger and classes by writing test class. You can refer this link :

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_testing_best_practices.htm

 

Please mark it as the solution if it answers your question.

 

Ckeck My Blog