Awareness

Look, I know the importance of tests. But my team does not. I don’t want to be the one to take all the responsibility.

Code coverage paradox

At most, 20% of the code makes sense to be tested automatically. Nobody wants to be laughed at because of 20% code coverage. 0% is certainly better.

Unpredictability

Today’s code returns X, tomorrow it will need to return Y. You don’t know how the requirements will change – why change the code twice?

Deadlines

Calendar is cruel. Your manager will literally kill you if you don’t deliver. Let’s be real – writing tests takes time. Maybe it saves some, too. But somewhen in the future.

Not my job

Please, I have QA team for that.

Tests make devs lazy

Write documentation and code comments instead. Also, broken documentation doesn’t stop the CI.

TypeScript

Tests are redundant if you have static type checker. It’s that simple.


If you made it this far – please read the first words of each paragraph