Re:The Myth of Code Coverage
by Supermancho on Friday December 04, 2020 @05:53PM
(#25309406)
> You want to strive to test that logging logs and observability observes?
A test that calls code (which counts as code coverage) does not have to verify that something specific happened. Often, this is a weakness of a test. The test does not verify what you think it would for various reasons...visibility, access to resources, etc.
A test that calls code (which counts as code coverage) does not have to verify that something specific happened. Often, this is a weakness of a test. The test does not verify what you think it would for various reasons...visibility, access to resources, etc.