News for hackers. Stuff that matters.
Re:Ask HN: What is your best advice for a developer to write... by misttar on Wednesday June 29, 2016 @03:20PM (#12004019)
The point of writing tests is to provide information, not prove correctness.

IE, a test is another way to explain what the developer of that test cared about, worried about, needed to verify of the code that is exercised.

Also, tests provide anothing built in consumer of the code, and all code with more consumers is better code, purely by surviving the stress.

There are no comments on this comment yet.