background story:
We slipped under the 75% test coverage. In addition to writing new tests I deleted some old classes (no longer needed ones).
Problem:
Deleting classes which are still referenced in test classes has caused a deadlock.
- The Apex tests won't succeed due to the missing classes.
- Deploying the missing classes again isn't possible due to an automatic (not successful) execution of the unit tests.
Example:
public class AlreadyDeletedClass { }
@isTest
private class AlreadyDeletedClass_Test {
static testMethod void notWorkingTestMethod() {
NotLongerNeeded canNotBeInstantiated = new NotLongerNeeded();
}
}
Any suggestions how to proceed?
Thank you in advance.
Warm Regards, Florian