Y
Hacker News
new
|
ask
|
show
|
jobs
by
catgary
75 days ago
Because the code is the actual thing, tests can only show that the code fails in certain cases, they don’t actually prove the code is correct.
1 comments
raw_anon_1111
75 days ago
If you are writing the correct tests that mirror the requirements, why wouldn’t passing tests mean the code is correct?
link
catgary
73 days ago
Because it doesn’t? Thats why the field of formal methods exists.
link
raw_anon_1111
73 days ago
Then that sounds like you aren’t writing good tests…
link