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



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



Best Answer chosen by Admin (Salesforce Developers) 

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 :


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


Ckeck My Blog