Commit 78aa43b2 authored by Yuke Liao's avatar Yuke Liao Committed by Commit Bot

[code coverage] Update per-cl coverage documentation

This CL updates the documentation for per-cl coverage.

Bug: 930364
Change-Id: Id22ee2f22bd8e170253af7d82b86fa7b9bd766d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774907Reviewed-by: default avatarErik Staab <estaab@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#691677}
parent aa1efe18
...@@ -5,25 +5,22 @@ designs and make code easier to maintain. **Code coverage helps you ensure your ...@@ -5,25 +5,22 @@ designs and make code easier to maintain. **Code coverage helps you ensure your
tests are thorough**. tests are thorough**.
Chromium CLs can show a line-by-line breakdown of test coverage. **You can use Chromium CLs can show a line-by-line breakdown of test coverage. **You can use
the code coverage trybot to ensure you only submit well-tested code**. it to ensure you only submit well-tested code**.
To see code coverage for a Chromium CL, trigger the code coverage trybot To see code coverage for a Chromium CL, **trigger a CQ dry run**, and once the
**linux-coverage-rel**: builds finish and code coverage data is processed successfully, **look
![choose_tryjobs] ![linux_coverage_rel]
Once the build finishes and code coverage data is processed successfully, **look
at the right column of the side by side diff view to see coverage information**: at the right column of the side by side diff view to see coverage information**:
![code_coverage_annotations] ![code_coverage_annotations]
**Code coverage data is shared between patchsets that are commit-message-edit or
trivial-rebase away**, however, if a newly uploaded patchset has
non-trivial code change, a new CQ dry run must be triggered before coverage data
shows up again.
The code coverage tool currently **supports C/C++ code for Chrome on Linux**; The code coverage tool currently **supports C/C++ code for Chrome on Linux**;
support for more platforms and more languages is in progress. support for more platforms and more languages is in progress.
The code coverage trybot has been **rolled out to a 10% experiment**, and once
we're more comfortable in its stability, we plan to enable it by default and
expand it to more platforms.
## Contacts ## Contacts
### Reporting problems ### Reporting problems
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment