5 Questions Every Unit Test Must Answer
Eric Elliott
3.9K32

I would like to give you a thousand claps for this (but medium doesn’t let me).

I can’t understand why programmers (who say they have 10–15 years of experience) can’t understand why tests should be clean and should not be written just to satisfy client expectations (coverage). I’ve seen tests these days just calling a function for the sake of coverage, no expectations, no proper description. Unfortunately the programmers who did that will never read this article.