Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sedatk
on Jan 21, 2023
|
parent
|
context
|
favorite
| on:
An unexpected benefit of unit tests
TDD may not be a two-step process, but its first step is always "write tests" hence the term test-driven, which author clearly diverged from.
garethrowlands
on Jan 21, 2023
|
next
[–]
TDD's first step is write *a test*, not "write tests". Batch size of one. If it was "write tests," it'd be more waterfall.
sedatk
on Jan 21, 2023
|
parent
|
next
[–]
Still, you write
a test
first which, again, the author diverged from.
superjan
on Jan 21, 2023
|
prev
[–]
I don’t either. But somehow TDD is considered the sanctioned way to work with unit tests, and that it is almost pointless to write tests unless you’re doing TDD. I am relieved to read that I am not the only one.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: