3 ms·
100% coverage in testing doesn't indicate 100% usage in production. For example - if an API endpoint is no longer in use (say, it's a v1, and your company has n
by falcolas 9y ago
100% coverage in testing doesn't indicate 100% usage in production. For example - if an API endpoint is no longer in use (say, it's a v1, and your company has now entirely moved to v4), the code in question will still be covered by testing - it's not dead according to the test suite.
- tcopeland 9y agoYup but coverband doesn't do code coverage during tests (like simplecov); it does code coverage in production by sampling requests and profiling them.