Re:How to avoid brittle code
by zabil on Monday March 28, 2016 @03:53AM
(#11373181)
Depends on how you author the unit tests.
They must be testing "behavior". If you are refactoring to clean up code, you'll want to verify the behavior and unit tests gives you that quick feedback.
They must be testing "behavior". If you are refactoring to clean up code, you'll want to verify the behavior and unit tests gives you that quick feedback.