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
icemft1976icemft1976 

Eclipse holding onto old Error

I received an error in Eclipse about a week ago ("Test coverage of selected Apex Class and Trigger is 0%, at least 75% test coverage is required" ) because I had a problem with the first line of a  test method.  I've since fixed the issue that generated the error - but it won't go away from the Problems window.

It's weird, because other errors come and go as they are resolved, but this one stays. And I've verified that the production instance IS getting the changes & saves...so it appears to be a false error. Can it be due to the fact this code is unpackaged? Am I missing new testing requirements?

error details:

Message: Test coverage of selected Apex Class and Trigger is 0%, at least 75% test coverage is required
On Element: LiveSite (this is the overall Project Name)
Location: line 1

I noticed some odd behavior like this with the last version of Eclipse I used (3.2.2) but these persistent buggers usually would drop off after a program restart.

Of course, this could just be due to my ignorance...Any thoughts?

Can't wait for the APEX class next month! :smileywink: