Yo.
So I generally consider my team to have pretty ok attitudes when it comes to quality, but a couple of months ago I found out while doing an audit (with the team) of all our automated tests that we have very little unit test coverage. Some parts of the system have none at all, even the more modern things weāve built.
Iāve been getting soft resistance to my influencing, arguments like it adds time and āunit tests are great, but I donāt think it would add value to this particular part of the systemā. Since Iām not a programmer (I dabble) and have not written unit tests before, itās hard for me to come up with non-general arguments against this. Everyone is aware of the advantages of unit testing, but it feels like no one really believes it in their hearts. Weāve talked about how they are small and quick to run, they identify problems quickly/early/while devving. They make refactoring code safer, and provide living documentation of what behaviour is expectedā¦ Everyone is aware of all these things, and when we talk no one is outspokenly against unit testing - just every single time they have an opportunity to write some, there is an excuse not to. xD idk if this could be a confidence issue where no one is sure how to write good unit tests, although I donāt have any guidance to give on this matter.
Do you have any good resources for devs that I can share that gives a devās perspective on why unit tests are great, stories from developers who started using them or just particular ways of framing the discussion that youāve found effective? Or any resources on how to write effective unit tests, examples etc.
Thanks in advance