You need to sign in to do that
Don't have an account?
Test coverage for managed code
I am trying to deploy changes to a production instance... and Im getting the error that says Average test coverage across all Apex Classes and Triggers is 72%, at least 75% test coverage is required. I have done almost as much as I can, and it seems like the classes that are bringing the average down are managed code, whos test coverage probably worked a couple years ago but is now outdated and broken. Is there anyway I can update managed code show its test coverage works again?
Or am I barking up the wrong tree and I should just keep trying to find 3 more percent in the code I can edit?
From what I've been told in the past, Managed Packages' test code is counted seperately from the rest. This should not be counted agaist you. What I would suggest is running all of your test classes and seeing what you're missing out on. This also explains on why managed packages can have test code coverage that throws errors but you're still able to push custom code into your org.
No worries
Compile all classes and then calculate organizatiion code coverage
Thn Log out and login
Now do your deployment it should work
Can you expand on this?
Compile all classes and then calculate organizatiion code coverage
Setup > App Setup > Develop > Apex Classes > Run All Tests