function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
notsosmartnotsosmart 

Excluding Managed package coverage in a test method

I have a test method for a custom lookup which works fine interactively.  My coverage is 97% on the test method but only 8% for the overall total.  I noted that some managed packages are being covered at very low %'s causing this.

 

The packages are:

 

Inline image 1

 

Is there a way to have them excluded from the test?

 I did not see anything under annotations for this.

Do you know how I could find out the repercussions of doing so>

 

Do you know if the overall Total not passing but the individual method does will cause it to not be able to deploy.