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
Stacey McDonaldStacey McDonald 

Code coverage error on deployment

I borrowed some code from the internet and now I cannot deploy it due to a code coverage error.  Is there any way around this or to fix it?
D'Mario LewisD'Mario Lewis

You have to test the code before you can deploy it. The following links is about code coverage and testing

(https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tests_coverage.htm&language=en_US)
Stacey McDonaldStacey McDonald
I have tested all of my code and it is all close to 90%!  Both in production and development.  When I go to deploy it says it is at 53%.  Doesn't make sense at all.