Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
advisedwang
4 months ago
|
parent
|
context
|
favorite
| on:
Unit tests as documentation
spec and documentation are things different though?
gpmcadam
4 months ago
[–]
In TDD spec is converted to behaviours that can be ran as automated tests so if the logic of the code changes, it breaks the spec and in turn the tests
Whereas documentation can (inevitably) go stale with no feedback or build failures
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: