Unit tests mark territory more than squash bugs
I am a programmer who has worked a lot on hardware, and from that point of view, software testing looks horrible, since software is full of bugs. And you can explain this with, well, they push
programmers to ship buggy code since you can always fix the bugs later, and so the program is always full of bugs to be fixed
later — whereas with hardware, bugs are often (not
always!) catastrophic, so they have no choice but to let you fix them, even if it takes some time.