I’m not religious about it, but I think that having good set of automated tests is one of the best ways of ensuring high quality of the software. Still, often I see otherwise competent developers saying things like
- “You’re not going to catch the errors anyway so it’s just unnecessary work”
- “My code is so simple and easy to understand, it doesn’t need any tests”
- “Having unit tests is just extra maintenance because the tests will fail anyway when code is changed”
I know there’s tons of articles about automated testing already, but I wanted to write my opinion, perhaps just out of frustration of having to deal with such people.