That’s funny. I only write tests to prove that the program does what it’s meant to do and not to find bugs.
The goal is to prevent a future programmer, including myself, from breaking any of the declared properties.
The goal is to prevent a future programmer, including myself, from breaking any of the declared properties.
Too often I’ve seen “tests show it’s correct” suites horribly fail to provide value when the behaviour changes in a unit of business logic and the brittleness needs to be unwound and replaced with robust assumptions.