Skip to main content
We are working on small Salesforce Enhancement Project. We are launching our department naming conventions for Salesforce and also introducing an Advanced Opportunity Search feature.

 

I am not a Salesforce Apex developer but I have managed to implement the apex pages and classes for Advanced Opportunity Search on our SandBox environment and it is working fine but when I try to upload to the live environment using Change Set of Salesforce, then it is not going through and producing following message.

 

“Average test coverage across all Apex Classes and Triggers is 65%, at least 75% test coverage is required.”

 

Can anyone identify this error and let me knoe the likely causes?
2 answers
  1. Sep 26, 2013, 4:23 AM

    One of two things happened:

    1. A test class for other code in your system no longer works, bringing your average test code coverage under 75%

    2. No test class has been written for the code you are trying to deploy, so your average is under 75%!

    Hopefully it is the second one because that one's a lot easier to fix  =)  Hope this helps!

     

    David
0/9000