Re:Superior Testing: Stop Stopping
by gnahckire on Thursday January 31, 2019 @01:49PM
(#19047529)
I partially agree w/ you. One can always delete the test and then it's like you have no tests at all.
> And then there's a number of issues with test coverage giving you a false sense of security, with things like reaching 100% for a given piece of code, but only thinking about the happy path.
Yup, and this is why one writes tests against well-defined interfaces/boundaries.
> And then there's a number of issues with test coverage giving you a false sense of security, with things like reaching 100% for a given piece of code, but only thinking about the happy path.
Yup, and this is why one writes tests against well-defined interfaces/boundaries.