Hacker News new | past | comments | ask | show | jobs | submit login

> the value proposition of testing is that it identifies incorrect system behavior before it manifests in live use.

Incorrect with respect to the documentation, yes. That's what I just said.

Tests are not intended to find undocumented incorrect behaviour. This is provable by taking it to the logical extreme of a codebase that is completely undocumented (no tests). When no tests run, no incorrect behaviour will be uncovered by it.

Only documented cases can reveal instances where the code does not conform to what is documented.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: