News for hackers. Stuff that matters.
Re:Fear makes you a worse programmer by adonovan on Monday April 08, 2024 @05:53PM (#39974125)
Unit tests are good when there are clear and durable units, but what many people seem to mean by a unit test is one that exercises the internal functions of a package, or the API of an internal package that evolves as fast as your product.

Stable interfaces that the user cares about (e.g. CLI, public API, RPCs) make for the highest-value tests.

There are no comments on this comment yet.