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
Soledad AngelSoledad Angel 

Basic Test Code Coverage

Hi guys,

I got two great triggers in my sandbox (1- makes sure there is an attachment in the opportunity, 2- makes sure there is a contact role assigned in the opportunity), but which I can't deploy to production because of the test code coverage.

As I do not have any coding skills and understanding of this area, can I have one test for all the triggers? how can I do this so I can deploy my triggers?
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Soledad,

To Test Your Apex Triggers please refer the below document for reference. Hope it will be helpful.

Best Regards
Rahul Kumar