logoalt Hacker News

ad_fontesyesterday at 11:37 PM1 replyview on HN

That doesn't really sound like an indictment of unit tests. I don't really understand why someone would meticulously write a bunch of unit tests and then wait to prove them on a production deploy?

Unit and integration tests serve different purposes and one isn't necessarily better than the other.


Replies

simonwyesterday at 11:42 PM

It's an indictment of writing only unit tests. If the system also had integration tests this would likely have been caught, but even more important is the lesson that no amount of automated tests is an excuse not to actually try using your software yourself.