• #19516
    Salesforce | Manpreet Manpreet #229
    Forcetalks

    What is minimum test coverage required for a trigger to deploy in Salesforce?

    What is minimum test coverage required for trigger to deploy?

     

    #19518
    Salesforce | Suraj Suraj #168
    Forcetalks

    Hi Manpreet,

    Minimum 75% of total classes and triggers coverage is Required to deploy package in production,it does not matter trigger is included or not.

    Overall coverage > 75%

    #22274
    Forcetalks

    minimum test coverage required for a trigger IS 75% but in the company level 90% above….////

    #22334
    Salesforce | Praveen Praveen #465
    Forcetalks

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

    #22335
    Salesforce | SFDC SFDC #467
    Forcetalks

    You need minimum 1 % for trigger and overall 75%, but in organisational level mostly you have to maintain 90%

    #23517
    Salesforce | Satya Satya #369
    Forcetalks

    Hi Manpreet,
    For trigger deploymet we need atleast 1% code coverage and Overall coverage > 75%

    Example:-
    1. If trigger code coverage = 0% and Overall coverage >= 75% Result deplyment failed (Code Coverage Error)
    2. If trigger code coverage > 1% and Overall coverage < 75% Result deplyment failed (Code Coverage Error)
    3. If trigger code coverage > 1% and Overall coverage >= 75% Result deplyment Success

    • This reply was modified 1 year ago by Salesforce | Satya Satya.
Viewing 6 posts - 1 through 6 (of 6 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?