You need to sign in to do that
Don't have an account?
sangeeta.marathe@Futurewise.co
Test an error or exception
Hiii,
I have written one code & in that code 5 files are there,
VFPage
Bean Class
Service Class
Controller Class
Test Class
Now I am getting 67% of trigger after running test so can u please tell me that which code needs to check if the trigger is less than 75%.
Actually I am getting 100% in Bean Class, But 2% in service class & 88%, 70% in other classes...
So should i check service class or there is no rule like this ?
Regards....
service class should cover...
You need to write test class for service class.
Thanks,
Devendra Natani
Either write test method for service class or write method which will cover the code of your service class called from your main class.