The worst thing is how often developers almost fatalistically accept that testing sucks. I don't blame them though because improving the test infrastructure has little short-term business value or so they say.
The investment calculation is quite complex and many of the variables require guesses. A lot of returns on automation work are not positive.