You need to sign in to do that
Don't have an account?
Srinivas Annam
test classes
I hv 10 classes and 1 trigger,code coverage is 95 %.I write Test classes for 9 classes and 1 trigger,(but not write test class for 1 class) (or) I write Test classes for 10 classes,( but not write test class for trigger).
Is it possible to deployee the code to production.
Is it possible to deployee the code to production.
10 Classs --> 9 class with 90%+ coverage, 10th class (no test class 0%) --> you can deploy
1 Apex Trigger --> 0% (overall more than 75%)--> you cannot deploy because trigger needs atlease 1% code coverage eventhough you are having overall code coverage more than 75%.
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.
All Answers
10 Classs --> 9 class with 90%+ coverage, 10th class (no test class 0%) --> you can deploy
1 Apex Trigger --> 0% (overall more than 75%)--> you cannot deploy because trigger needs atlease 1% code coverage eventhough you are having overall code coverage more than 75%.
Thanks,
Srinivas
- Please mark as solution if your problem is resolved.