Back to Envoy

Coverage

source/docs/coverage.md

1.38.0652 B
Original Source

How can I tell if my new code is covered by tests?

In a PR, you can run /coverage command like this. Then, the URL to the coverage report will be posted to the PR like this.

You can browse this report to the directory in question. In this particular case the coverage issue was actually a coverage bug, where trailing braces in tested switch statements are considered uncovered lines. Generally this will instead provide a branch of code which simply needs unit tests.