DEV Community

Discussion on: What's your worst technical debt story?

Collapse
 
sandordargo profile image
Sandor Dargo

I'm not sure if it's the worse, but that's something I came across very recently.

I had the urge to check our unit test a bit. I found that in many of our components we have unit tests, but they are not even compiled, because they are not declared in the XML file our build tool takes.

No surprise, most of them would not even compile not to mention passing the tests. But I found a component for I wrote a lot of tests a couple of months ago. I felt shame and doubt at the same time. Was I really such a moron?

I learnt that someone sad sometime after that we don't need unit tests in this component and he removed them from that configuration file. A non-dev gave the final approval in the code review. To me that's real horror!