+ 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.