DEV Community

Discussion on: How would you convince your company to implement unit tests?

Collapse
 
sandordargo profile image
Sandor Dargo

A former agile coach of ours told a story from back in time he was a CTO. Top management didn't want to invest in (unit)testing, they didn't support the idea to say the least.

One evening the CTO told the big boss that he could save him X amount of money very simply. Words went on, this future coach showed the CEO how to implement unit tests and how they help to prevent bugs.

The next days, communication arrived from the top that everyone should write unit tests for the new code.

So try to sell it with what the business like. They like more revenue and less money spent.

Collapse
 
manu profile image
Manu Lopez

Thanks for the comment Sandor! I think your comment could be really helpful for many developers as it shows that companies sometimes only listen to business reasons and not too technical reasons. Sometimes we lack in the way we communicate with non-technical people and this could be a good example.