3 ms·
> tests however are particularly toxic as it makes refactoring and cleanup very difficult. Properly written tests check the interface contract, and thus are ve
by pif 4y ago
> tests however are particularly toxic as it makes refactoring and cleanup very difficult.
Properly written tests check the interface contract, and thus are very friendly watchdog that will warn you as soon as you got out the right path.
Tests that check the implementation details, instead, are hardly ever justifiable.