Quality software requires testing at all levels.
when no further releases are foreseen
when big changes are foreseen
if automation is not possible
functions that will not suffer often or major changes
regression testing (that may be automated in 70-80% of cases)
from unit testing up to user acceptance and effective usage
the right people and the required material base