Building Testability Into Legacy Code
Industry studies say that about a quarter of software development cost is spent on Testing. Moreover the investment in terms of time and money increases exponentially with the age and size of the software product or solution. As the code is continually stretched to satisfy changing requirements; it develops resistance to stretch it further. This leads to a lot of quality related problems like Fragility, where a small legitimate change in one area causes some other area to fail in a manner that cannot be logically explained. Effectively, stakeholders have a poor confidence on the quality of software product.