I am currently trying to deploy my final release package but error stats that i don't have minimum code coverage to promote package.

enter image description here

But when I create scratch org and run all test I could see no class has below 85%

enter image description here

Let me know how to find which component has how much coverage after packaging?

  • Are you creating the package version with code coverage and validation flag enabled before promoting it?
    – manjit5190
    Oct 6, 2020 at 21:27
  • @mqnjith yes i m doing with - - codecoverage check, also to let you know that I have total of 5 packages in which only one of them has got this issue.
    – Ragul
    Oct 7, 2020 at 1:31

1 Answer 1


I found that code coverage was calculated on test class present inside particular package dependent package test coverage was not considered while packaging.

You must log in to answer this question.

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