3 ms·
In my world, the test suite is a better “why” than code comments.
by majikandy 8y ago
In my world, the test suite is a better “why” than code comments.
- tralarpa 8y agoWhat was hard to write should be also hard to read! /s
- detaro 8y agoHow do you tie the test suite to the specification? A test for a certain behavior alone doesn't document why it's testing that.
- crdoconnor 8y agoI have a property on my specification tests called "about" that explains why the feature exists along with other contextual information. It makes much more sense to centralize the "why does this behaviour exist" there where the specific behaviour is being tested rather than in the code.