You need to sign in to do that
Don't have an account?

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?
You need to sign in to do that
Don't have an account?
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)