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
vasumuni k 1vasumuni k 1 

is it possible to move the code to production without written the test class for one trigger but average code coverage is 80%.

Hi,

Is it possible to move the code to production without written the test class for one trigger but average code coverage is 80%.

If it is not possible which exception it will throw.

Please clear my confussion.

Thanks in advance

 
AdjasantAdjasant
Hi,

I think , atleast one line of trigger code is to be covered in test coverage(+ overall test coverage of the org above 75%).

Hence write  a new test method and make a simple insert and update for that object, that should do it.