Update deps and make tests compatible with CQ

This change skips some tests that are currently broken. These will be
re-enabled in a followup change.

Bug: 1201483, 1206464
Change-Id: I7d97301fb296a59f6a84fbad796ec038337f41d5
10 files changed
tree: ef728ca47e9302202a00b21ca14b6f8f8cd35e20
  1. src/
  2. test/
  3. .gitignore
  4. BUILD
  5. codereview.settings
  6. LICENSE
  7. OWNERS
  8. package-lock.json
  9. package.json
  10. README.md
  11. wct.conf.json
README.md

Chrome/Chromium Code Coverage Plugin

The purpose of this plugin is to surface code coverage data on Gerrit UI.

Development

Checking out the code

To check out the chromium-coverage plugin code:

git clone https://chromium.googlesource.com/infra/gerrit-plugins/code-coverage

Running the tests

npm run wct-test

To use with the local testsite

ln -s /path/to/chromium-coverage.html plugins/

Project Configuration

This plugin is configured via the project.config file present in the repo's refs/meta/config ref. This file uses git config format. By default, the coverage percentage columns in the file list are hidden to avoid visual distraction in unrelated projects, and in order to have them displayed, please add the following config:

[plugin "code-coverage"]
  enabled = true