3 ms·
Tests aren't the actual requirements doc once your code is used by a nontrivial number of people. People will always depend on your undocumented implementation
by UncleMeat 6y ago
Tests aren't the actual requirements doc once your code is used by a nontrivial number of people. People will always depend on your undocumented implementation details. Always.
- hinkley 6y agoHere’s the thing though. If the test suite declares the API, I could always write my own test suite that is more precise, which does cover the things I use “off label”. I may get caught a couple times, but eventually I’ll get it sorted. Being able to do that depends on whether I can assign such things after the fact, or if the author has to do it.