A design remedy that prevents bugs is always preferable to a test method that discovers them.
Boris Beizer (1990). “Software Testing Techniques”, Van Nostrand Reinhold Company

A design remedy that prevents bugs is always preferable to a test method that discovers them.