Skip to main content
Hi All,

I am stuck with this code coverag issue for last 4 days. Its continuously flashing as :

How to increase code coverage for below issue

This coverage is of Sandbox org. In Production coverage is 86%.

Please help.
5 respuestas
  1. 15 jul 2019, 03:59
    Hi Saroras,

    Sorry for this issue you are facing.

    Please follow some best practices for Deployment. I hope that will help you

    1) Always try to maintain the production code coverage near 80% so that you will never face this type of issue

    2) Weekly or monthly always check code coverage in prod and sandbox

    3) You can download the code coverage of each class with below app exchange product

    https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000DXzlpEAD

    Run All test is required. In the developer console, you can see the code coverage of each class only. But you can not download the result in XLS.

    So please download the report and check which all test classes having low code coverage. Please increase the code coverage of that classes and include that classes in the package a validate your changeset again

    Let us know if this will help you.

    Kindly mark this as solved if the reply was helpful.

    Thanks,

    Nagendra

     
0/9000