You need to sign in to do that
Don't have an account?
SKiran
Package is not getting uploaded- 5 % code coverage error
Hi,
I am creating a package which is referring eight classses, I have written all the test classes for them. There is trigger in the org which I havnt included in the package. Though I have written test class for it. All tests are passing but still I am getting error as
---------
Hi SKiran,
It might be possible that some of classes which you include in your package doesn't have some test classes and if you want to include a trigger into your package then you have write a test method which can cover the unit test coverage for that trigger. While creating a package you must have to cover atleast 75% of test coverage and at least 1% of test coverage of trigger. Force more details please visit http://forcespider.wordpress.com/
Please let me know if you have any question
Please give kudus by hitting on start if this post help you and mark my post as a answer for your question so that it will be available as a solution for other for same type of problem .
Thanks
Deepak shoyoran
All Answers
Hi SKiran,
It might be possible that some of classes which you include in your package doesn't have some test classes and if you want to include a trigger into your package then you have write a test method which can cover the unit test coverage for that trigger. While creating a package you must have to cover atleast 75% of test coverage and at least 1% of test coverage of trigger. Force more details please visit http://forcespider.wordpress.com/
Please let me know if you have any question
Please give kudus by hitting on start if this post help you and mark my post as a answer for your question so that it will be available as a solution for other for same type of problem .
Thanks
Deepak shoyoran
Hi,
Do one thing
Run All test Execution and go to each classes individually to check their code eoverage you will find real coverage and if it is less then 75 please modify you test class to increase code coverage.
Your welcome.
Please accept my post as a solution so that it will also helpful for other and give me some kudus by clicking on star.
Thanks
Deepak Sheoran
Salesforce developer