function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prashant1985prashant1985 

test code coverage issue when making package

Hi,

 

Code coverage issue.

 

when i run all test  from setup-->develop-->apex classes  its show 76% code coverage.

but when i go to make new package.

I add all apex class and  pages, tabs,buttons in package.

and when i go for upload this package its show error you can not upload this package code coverage is 12%

 

so please suggest why this happen its show 76% code coverage when i run all test from apex class.

 

so give solution.

 

Thanks

Prashant

Sridhar BonagiriSridhar Bonagiri

Hi,

 

This has been answered through the following link

 

http://boards.developerforce.com/t5/General-Development/Code-Coverage-Issue/td-p/555161

 

 

- Sridhar Bonagiri