1

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?

2
  • Are you creating the package version with code coverage and validation flag enabled before promoting it? – manjit5190 Oct 6 '20 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 '20 at 1:31
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.