+ Start a Discussion
PavanReddyPavanReddy 

is there any code coverage required for a trigger ?

What should be the code coverage for a Trigger? 

Devender MDevender M
Hi Pavan,

Code cover is required for class and trigger. It should be 75%.
But we should try to cover the code as much as possible.
PavanReddyPavanReddy

for trigger also its mandatory to cover 75% ..plz explain me on this

Devendra@SFDCDevendra@SFDC

Hi Pavan,

You must have atleast 75% test code coverage to deploy the code from sandbox to production.

If you are building any managed package application then also you must have atleast 75% test coverage to create a package. Otherwise your package creation will fail.

Hope this helps :)