Hacker News new | ask | show | jobs
by advisedwang 612 days ago
spec and documentation are things different though?
1 comments

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