Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nradov
on Oct 31, 2017
|
parent
|
context
|
favorite
| on:
Why Most Unit Testing Is Waste [pdf]
No, changing the code doesn't invalidate the unit tests unless the API design contact changes.
mannykannot
on Oct 31, 2017
[–]
By definition, unit tests test the implementation. A test at the API design contract level is an integration test. The only place where these are the same thing are pure (side-effect-free) functions that do not call other functions.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: