+ Start a Discussion

code coverage fails because of 3rd party managed packages



I tried to deploy my code but it failed because of 3rd party managed package. if i uninstall 3rd party package then i can deploy my code properly.


if i install 3rd party package and deploy my code then i give me error of deploy fail with 0%.


The issue is something being caused by the triggers executing when i tries to run my unit tests to deploy my code at that time 3rd party triggers fire and throw exception.



You'll have to write your unit tests so that they can complete with the 3rd party packages installed - there's no way to disable that code while your tests are running.