Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kpU8efre7r
on Nov 15, 2019
|
parent
|
context
|
favorite
| on:
Ask HN: Do you write tests before the implementati...
I've been asked to literally test that values are incremented. Like, does ++ add 1 to the value in C, just to be safe, for the sake of 100% coverage.
kelnos
on Nov 27, 2019
[–]
I've seen tests that essentially look like that, and tests that, when you really look at it, pretty much just test the testing framework and mocking library and don't really exercise application code. It's infuriatingly useless.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: