3 ms·
> They also serve as a form of code documentation (defining expected behavior). Oh, far from it. Tests are not documentation, documentation is documentation. T
by dozzie 10y ago
> They also serve as a form of code documentation (defining expected behavior).
Oh, far from it. Tests are not documentation, documentation is documentation.
Tests can be treated as a set of examples at best.
- crdoconnor 10y agoGood well explained tests serve well as documentation. I've used them before in lieu of specifications. Bad tests not so much.