Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
catgary
1mo ago
0 comments
Share
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.
0 comments
default
newest
oldest
raw_anon_1111
1mo ago
If you are writing the correct tests that mirror the requirements, why wouldn’t passing tests mean the code is correct?
catgary
OP
1mo ago
Because it doesn’t? Thats why the field of formal methods exists.
raw_anon_1111
1mo ago
Then that sounds like you aren’t writing good tests…
j
/
k
navigate · click thread line to collapse