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
B. LoeweB. Loewe 

Package won't upload: "No test methods found in Apex code..."

Hi all,

I have two custom apps that we've build that we want to share with a sister organization but when we go to upload the package we get the error message

"No test methods found in the Apex code included in the package. At least 75% test coverage is required."

I don't know what an apex code test is or how to check its existence.

Can you please help?
Thanks
 
0l0r1n0l0r1n
It's a requirement of salesforce, you need to create test methods to be able to deploy packages

https://developer.salesforce.com/page/An_Introduction_to_Apex_Code_Test_Methods
B. LoeweB. Loewe
Thanks, I read that intro. But I don't understand how to create a test for the apps I'm uploading.  What needs to be tested? How?