Re:Dependency injection is not a virtue
by SideburnsOfDoom on Sunday January 06, 2013 @02:16PM
(#5017336)
> Monkey patching is fragile, but in tests, who cares?
The coders who have to maintain the tests care. Tests are different to production code, but the trade-off where quick-but-fragile code imposes a tax in keeping it working is the same.
The coders who have to maintain the tests care. Tests are different to production code, but the trade-off where quick-but-fragile code imposes a tax in keeping it working is the same.