News for hackers. Stuff that matters.
Re:Writing system software: code comments by detaro on Sunday October 07, 2018 @07:04AM (#18159995)
How do you tie the test suite to the specification? A test for a certain behavior alone doesn't document why it's testing that.
Re:Writing system software: code comments by crdoconnor on Sunday October 07, 2018 @09:32AM (#18160448)
I 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.