logoalt Hacker News

somewhereoutthtoday at 10:59 AM2 repliesview on HN

If your product is used by humans, then it needs to be tested by humans - this cannot be automated. Those humans can be your QA people, or your customers. Perhaps your customers are happy to be testers, perhaps not.

Unit tests are very expensive and return little value. Conversely, a (manual?) 'smoke test' is very cheap and returns great value - the first thing you do when updating a server for example is to check it still responds (and nothing has gone wrong in the deployment process), takes 2 seconds to do, prevents highly embarrassing downtime due to a misconfigured docker pull or whatever.


Replies

baal80spamtoday at 11:15 AM

> Unit tests are very expensive and return little value

Why are unit tests very expensive? This goes against everything I know.

show 1 reply
ivan_gammeltoday at 12:09 PM

Automated tests are no longer expensive to write and nowadays less expensive to execute.