You need to sign in to do that
Don't have an account?
S Gogati
How to skip the validation rules when inserting records in test class
Hi All,
We have an package, while excuting the testclass at customer end, due to custom validations few test class are failing. Do we have any mechanism to skip validation rules in apex test class.
Thanks in Advance
We have an package, while excuting the testclass at customer end, due to custom validations few test class are failing. Do we have any mechanism to skip validation rules in apex test class.
Thanks in Advance
You cann't bypass the validataion rule in test class. Why you want to do this becuase in test class we always create data according to real senieiro.
-Thanks
Ashlekh Gera
Yes it is a big problem here is a idea for this.
https://success.salesforce.com/ideaview?id=08730000000BrpCAAS
-Thanks
Ashlekh Gera