Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
globnomulous
on Oct 18, 2024
|
parent
|
context
|
favorite
| on:
Unit tests as documentation
Not just complete sentences, test names should describe in plain English, with no reference to code or variable names, exactly what's being tested and exactly the expected outcome: "when [something happens], [the result is x]"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: