Hacker News new | ask | show | jobs
by beached_whale 1252 days ago
Combine this with usage testing. At least for libraries, which I seem to end up writing a lot of, writing usage tests that don’t necessarily test units but functionality. Doing this early on helps flesh out the friction in usage and will help with testing as it often can have broad coverage. It also, now sits as a potential example for usage in documentation.
1 comments

These are way, way more useful than unit tests IME.