2 ms·
Tests and documentation are like peanut butter and jelly. Tests can be examples of how to do things. If examples in your documentation aren't backed by unit t
by PaulHoule 2y ago
Tests and documentation are like peanut butter and jelly.
Tests can be examples of how to do things. If examples in your documentation aren't backed by unit tests they don't work.
- onel 2y agoThey are both super important and complimentary, true. But if you could only do one? Which one would you choose? I see your point with tests as examples, but I would find those pretty hard to read/find compared to docs. And if the doc's examples are not backed by tests we get into the same problem as docs being outdated.