Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nerdponx
on Sept 24, 2020
|
parent
|
context
|
favorite
| on:
Evil Unit Testing (2019)
That's why they said "often".
A better definition might be "the smallest amount of testable
functionality
".
exdsq
on Sept 24, 2020
[–]
Which is a function.
JoeNr76
on Sept 24, 2020
|
parent
[–]
It might start out as a function, then become a factory, then an object and if you bind your test to the implementation details of this code, you will have to rewrite your test every time you refactor your code. Not ideal.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
A better definition might be "the smallest amount of testable functionality".