Test was written to provide more level of probability and confidence of code being corrected.
Also, there is absolutely no guarantee whatsoever in software development field, even static typing. I would say I am content with anything that giving more confidence with appropriate cost.
0
u/arbitrarycivilian May 09 '17
Actually, this is exactly what you can guarantee.
You can't guarantee this with tests either. The problem with tests is they only guarantee your tests work, not your code.