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
kito kidkito kid 

hit exception for the unused or uncalled class while validation

I am new to salesforce.

Now I have been trying to deploy my part to the existing project in Production.

When I do validation before deploy my part(20 classes) , I hit the exception and failed.

 

The problem is the exception is hit from a existing class , I never used or call.

 

1) when perform validation, is SF run all the test classes (existing and new) ?

2) If that a case, is it too slow to re run all the test classes?

3) if that kind of exceptions from a class, you don't written... how we should handle it? (if the project is too big and too many codes)

 

Thanks ahead for any helpful inputs.

SharathChandraSharathChandra

Please send post the exception so that we can give solution.