0

Can any one help me out with this Error : I have deployed the Visual force page and the controller .The outbound change set went successful. At Inbound change set I get an Error as :

Code Coverage Failure Your organization's code coverage is 71%. You need at least 75% coverage to complete this deployment.

1
  • 2
    did you upload a test class for the controller to go with this? You need to cover some lines in your Visualforce controller with Apex tests,
    – akarnid
    Apr 10, 2015 at 10:34

2 Answers 2

2

You need to increase code coverage on destination instance.

1

When deploying on production, we need at least 75% overall coverage. You will need to write Test class for your controller (to cover controller at least 75%). When deploying, include test class with controller and vf page.

1
  • :In DC it shows 80% overall coverage in sandbox when we move in to production it say it has only 71% overall coverage.
    – nikkey
    Apr 10, 2015 at 18:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .