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
Parth KheniParth Kheni 

Developer Console Shows 100% courage for Triggers but failure on production push


I am having an error when I push my triggers to production. I have added appropriate test classes for them too.
In developer console they show up as 100% covered for Code coverage like below.

User-added image
But when I try to deploy the triggers in production it gives me below error

User-added image

Can somebody please suggest me what could be the reason for that ?

Thank you :)
Prosenjit Sarkar 7Prosenjit Sarkar 7
Hi parth, 

Have you deployed the test class ? please check ?

Raj VakatiRaj Vakati
I believe some other test classes or your test class is failing in production .. Can you share the  Errors also to find the reason