You need to sign in to do that
Don't have an account?
XactAndy
Error uploading a package
Hi,
I recently decided to upload my beta app, and got the following error:
for one of my Apex triggers.
I have uploaded this package without any problems before, and used the Eclipse
IDE to upload the triggers separately. Has something changed, and how can
I go about fixing it? I can't see a way of removing the triggers from the contents
of the package.
Andy
I recently decided to upload my beta app, and got the following error:
There are problems that prevent this package from being uploaded.
No testMethods found in the selected Apex code for the package |
for one of my Apex triggers.
I have uploaded this package without any problems before, and used the Eclipse
IDE to upload the triggers separately. Has something changed, and how can
I go about fixing it? I can't see a way of removing the triggers from the contents
of the package.
Andy
When you Run Tests from Eclipse, what is your reported code coverage?
Most likely the solution is to add an Apex Class to your package containing one or more TestMethods that exercise the code in your trigger. Once you have achieved the required code coverage for deploying Apex to production (75% or more), you should be able to upload your package to the AppExchange.
Jon
I also have the same issue. I am trying to uplaod package from Sandbox
I have the test classes and coverage is more than 75%